RFR: 8372948: Store end positions directly in JCTree
Jonathan Gibbons
jjg3 at pobox.com
Wed Dec 3 19:56:45 UTC 2025
On Wed, Dec 3, 2025, at 11:13 AM, Maurizio Cimadamore wrote:
> Perhaps with some keywords like `break`, `continue`, ... we might be able to infer the end pos (given it's just start pos + number of chars in the keyword). But not sure how much we are willing to bend the code for special cases like these?
Doesn't the endPos records the position of the semicolon, not the end of the keyword?
-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20251203/124197b6/attachment-0001.htm>
More information about the compiler-dev
mailing list