Visitar URL original
Java: Fix printAST to handle javadoc belonging to multiple elements by tamasvajk · Pull Request #12501 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260108084645/https://github.com/github/codeql/pull/12501
Skip to content

Conversation

@tamasvajk
Copy link
Contributor

@tamasvajk tamasvajk commented Mar 13, 2023 •

Javadoc comments might be linked to multiple elements. In these cases the AST node of these comments have multiple parents, which means we can't print a well-formed tree. This PR fixes this issue by introducing distinct AST nodes for these comment-element pairs.

@github-actions github-actions bot added the Java label Mar 13, 2023
@tamasvajk tamasvajk force-pushed the java/javadoc_printast branch from 4c1a102 to c57fcfb Compare March 13, 2023 13:26
@tamasvajk tamasvajk marked this pull request as ready for review March 13, 2023 14:41
@tamasvajk tamasvajk requested a review from a team as a code owner March 13, 2023 14:41
@tamasvajk tamasvajk added the no-change-note-required This PR does not need a change note label Mar 13, 2023
@igfoo igfoo merged commit 32e8b13 into github:main Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants