Skip to content
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

Local Classes should error the same as Inner Classes #2369

Open
ChiefArug opened this issue Sep 2, 2024 · 0 comments
Open

Local Classes should error the same as Inner Classes #2369

ChiefArug opened this issue Sep 2, 2024 · 0 comments

Comments

@ChiefArug
Copy link

Minecraft Development for IntelliJ plugin version

2024.1-1.8.1

Description of the feature request

There is currently an error message when trying to use an inner class in a mixin that is not also a @Mixin class itself.
image
This does not show on method local classes though, even though the same restrictions apply (attempting to use such a class results in org.spongepowered.asm.mixin.transformer.throwables.IllegalClassLoadError: <localclass> is in a defined mixin package <mixin.package> owned by <mixin.config> and cannot be referenced directly )
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant