Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ default Optional<CompKindExpression> synthesize(@NonNull ASTMCType mcType) {
mcType.accept(this.getTraverser());
Optional<CompKindExpression> res = this.getResult();
if (res.isEmpty()) {
Log.error(String.format("0xD0104 Cannot resolve component '%s'", mcType.toString()),
Log.error(String.format("0xD0104 Cannot resolve component '%s'", mcType.printType()),
mcType.get_SourcePositionStart(), mcType.get_SourcePositionEnd()
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public void shouldLogErrorOnPrimitive() {

// Then
Assertions.assertTrue(result.isEmpty(), "Expected no CompKindExpression for primitive 'int'");
MCAssertions.assertHasFindingStartingWith("0xD0104");
MCAssertions.assertHasFindingStartingWith("0xD0104 Cannot resolve component 'int'");
}
}
Loading