Skip to content

Stub parser: avoid wildcard imports - #5

Merged
DanielEScherzer merged 11 commits into
mainfrom
stub-parser-track-use
Oct 25, 2026
Merged

DanielEScherzer merged 11 commits into
mainfrom
stub-parser-track-use

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Owner

No description provided.

If the stub does not have any classes with methods, the verification code is
not used, omit it to avoid warnings about unused code.
This is ugly, and will be cleaned up momentarily, but it works
Rather than passing around a scope object everywhere, save it in the overall
struct, and replace it when changing scopes
Calls to register classes/interfaces/enums, and the initialization macros, are
the only things are their respective lines, and the names are not repeated
within the same scope. Use fully qualified paths instead of adding additional
`use`s for those.

Same with some of the bits for registration verification.
@DanielEScherzer
DanielEScherzer marked this pull request as ready for review October 25, 2026 19:46
@DanielEScherzer
DanielEScherzer merged commit 10ce8c2 into main Oct 25, 2026
9 checks passed
@DanielEScherzer
DanielEScherzer deleted the stub-parser-track-use branch October 25, 2026 20:07
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.

1 participant