Skip to content

cleanup: parser util leftovers - #463

Merged
Max Medvedev (maxmedvedev) merged 1 commit into
JetBrains:masterfrom
goto1134:cleanup/parser-util-leftovers
Sep 19, 2026
Merged

Max Medvedev (maxmedvedev) merged 1 commit into
JetBrains:masterfrom
goto1134:cleanup/parser-util-leftovers

Conversation

@goto1134

Copy link
Copy Markdown
Contributor

No description provided.

@goto1134

Copy link
Copy Markdown
Contributor Author

Merge after #458

@goto1134
Andrei Efanov (goto1134) force-pushed the cleanup/parser-util-leftovers branch 2 times, most recently from 44ac908 to f13d3d1 Compare August 24, 2026 10:44
The next component stayed raw when Hooks became a record, losing the
Hooks<?> the field used to declare, and run_hooks_impl_ still read the
backing fields directly, which compiles only because Hooks is nested in the
same top-level class. Restore the wildcard and go through the accessors.

Move @SuppressWarnings("unused") from eof to the class. Around thirty
methods here are called only from generated parsers, so they all report the
same false positive, and eof is not special.
@goto1134
Andrei Efanov (goto1134) force-pushed the cleanup/parser-util-leftovers branch from f13d3d1 to 33e0d1e Compare August 29, 2026 10:21
@goto1134
Andrei Efanov (goto1134) marked this pull request as ready for review August 29, 2026 10:22
@maxmedvedev
Max Medvedev (maxmedvedev) merged commit 327be61 into JetBrains:master Sep 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants