RFR: JDK-8273244: Improve diagnostic output related to ErroneousTree [v6]
Jonathan Gibbons
jjg at openjdk.java.net
Mon Oct 4 17:07:14 UTC 2021
On Mon, 4 Oct 2021 12:49:58 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
> When is it possible here to get a DocTree node, which is not also a DCTree?
In standard `javac`/`javadoc`, essentially never.
> Here, we are not so lucky and have to traverse the complete tree
It's a shame we can't traverse the tree right to left ;-) But, this is only used for diagnostic positions, so is arguably less performance-sensitive.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5510
More information about the compiler-dev
mailing list