-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AccessTransformer can narrow access in dev #11
Labels
bug
Something isn't working
Comments
NG should use JST for ATs now, as I understand it -- meaning this is likely a flaw on the logic on the JST end, which does not seem to take into account the existing modifier: https://github.com/neoforged/JavaSourceTransformer/blob/main/accesstransformers/src/main/java/net/neoforged/jst/accesstransformers/ApplyATsVisitor.java#L124-L139 |
This is indeed a JST issue, as it currently doesn't exactly have error reporting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was copy+pasting a few lines and accidentally had this in my AT file:
This file is public by default, since it's used in
DebugRenderer
:However, AccessTransformer seems to have made this protected, which causes Neoform to fail:
The text was updated successfully, but these errors were encountered: