Skip to content

Commit

Permalink
disable annotation resolution / evaluation for one more accept method
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-herrmann committed Apr 4, 2024
1 parent 3c15c2b commit 4bf51e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void accept(ICompilationUnit sourceUnit, AccessRestriction accessRestrict
CompilationResult unitResult = new CompilationResult(sourceUnit, 1, 1, this.options.maxProblemsPerUnit);
CompilationUnitDeclaration parsedUnit = basicParser().dietParse(sourceUnit, unitResult);
this.lookupEnvironment.buildTypeBindings(parsedUnit, accessRestriction);
this.lookupEnvironment.completeTypeBindings(parsedUnit, true); // work done inside checkAndSetImports()
this.lookupEnvironment.completeTypeBindings(parsedUnit, true, false /*no annotations*/); // work done inside checkAndSetImports()
} else {
this.lookupEnvironment.problemReporter.abortDueToInternalError(
new StringBuilder(Messages.accept_cannot)
Expand Down

0 comments on commit 4bf51e6

Please sign in to comment.