RFR: 8224228: No way to locally suppress lint warnings in parser/tokenizer or preview features [v13]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Feb 28 10:04:57 UTC 2025
On Thu, 27 Feb 2025 18:21:00 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> `<crazy-idea>` would the design be simpler if we add a post-parser phase for this? `</crazy-idea>`
Not a crazy idea at all. Something similar was tried here:
https://github.com/openjdk/jdk/pull/23281#issuecomment-2640782274
An attempt was made to avoid deferral of lint warnings in general, and put all checks in the new pass we have. But it turned out to be more than we can chew -- at least in the sense that it's hard to get there in one single shot.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23237#issuecomment-2690231622
More information about the compiler-dev
mailing list