From 8510f96dc0d531ed41556b355a89a888b35a931b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20L=C3=BCpges?= Date: Thu, 19 Oct 2023 10:33:40 +0200 Subject: [PATCH] Revert 15c76fce MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Lüpges --- .../types/check/SynthesizeSymTypeFromMCBasicTypes.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monticore-grammar/src/main/java/de/monticore/types/check/SynthesizeSymTypeFromMCBasicTypes.java b/monticore-grammar/src/main/java/de/monticore/types/check/SynthesizeSymTypeFromMCBasicTypes.java index b6b66b2bcf..9525f9c2a8 100644 --- a/monticore-grammar/src/main/java/de/monticore/types/check/SynthesizeSymTypeFromMCBasicTypes.java +++ b/monticore-grammar/src/main/java/de/monticore/types/check/SynthesizeSymTypeFromMCBasicTypes.java @@ -138,6 +138,7 @@ protected Optional createTypeObject(ASTMCQualifiedName qName) { if (matches.isEmpty()) { return Optional.empty(); } else { + /* TODO: Enable once CD4A resolving is fixed if (matches.size() > 1) { Log.error("0xA0326 Reference " + qName.getQName() + " matches multiple types: " @@ -145,6 +146,7 @@ protected Optional createTypeObject(ASTMCQualifiedName qName) { qName.get_SourcePositionStart() ); } + */ SymTypeOfObject symType = SymTypeExpressionFactory.createTypeObject(matches.get(0)); return Optional.of(symType); }