Skip to content

Commit

Permalink
fixed duplicate bean index elements by adding a missing cleanup when …
Browse files Browse the repository at this point in the history
…full ast is required
  • Loading branch information
martinlippert committed Feb 26, 2025
1 parent 6a9c390 commit 51b3a06
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ public void accept(ReconcileProblem problem) {
if (!context.isFullAst()) {
// Let problems be found in the next pass, don't add the problems to the aggregate problems collector to not duplicate them with the next pass
context.getNextPassFiles().add(context.getFile());
context.resetDocumentRelatedElements(context.getDocURI());
} else {
problemCollector.endCollecting();
log.error("Complete AST required but it is complete already. Parsing ", context.getDocURI());
Expand Down

0 comments on commit 51b3a06

Please sign in to comment.