You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have AccessTransform.of(ModifierChange.REMOVE) in an access transform set and write that set using FmlWriter, the resulting AT file contains a broken line starting with -f.
This is not supported by the AT parser and lexer used by FML, which always expects an explicit access modifier as well.
I'm not sure if there's any good way to fix this, though, since it should probably be using the existing visibility of code in question, but that info isn't available here. In Architectury Loom, we just made it default to public-f, but that might also be unwanted.
The text was updated successfully, but these errors were encountered:
Juuxel
added a commit
to architectury/at
that referenced
this issue
Dec 15, 2023
When you have
AccessTransform.of(ModifierChange.REMOVE)
in an access transform set and write that set using FmlWriter, the resulting AT file contains a broken line starting with-f
.This is not supported by the AT parser and lexer used by FML, which always expects an explicit access modifier as well.
I'm not sure if there's any good way to fix this, though, since it should probably be using the existing visibility of code in question, but that info isn't available here. In Architectury Loom, we just made it default to
public-f
, but that might also be unwanted.The text was updated successfully, but these errors were encountered: