Skip to content

Commit

Permalink
Merge branch 'fix-15c76fce-II' into 'dev'
Browse files Browse the repository at this point in the history
Revert 15c76fc

See merge request monticore/monticore!896
  • Loading branch information
schmalzing committed Oct 19, 2023
2 parents 28f2fd7 + 8510f96 commit cea6f76
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,15 @@ protected Optional<SymTypeOfObject> 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: "
+ StringUtils.join(matches, ", "),
qName.get_SourcePositionStart()
);
}
*/
SymTypeOfObject symType = SymTypeExpressionFactory.createTypeObject(matches.get(0));
return Optional.of(symType);
}
Expand Down

0 comments on commit cea6f76

Please sign in to comment.