Skip to content

Feature/inner classes rework#193

Merged
LlamaLad7 merged 5 commits intomainfrom
feature/inner-classes-rework
Jan 16, 2026
Merged

Feature/inner classes rework#193
LlamaLad7 merged 5 commits intomainfrom
feature/inner-classes-rework

Conversation

@LlamaLad7
Copy link
Member

  • Fixes not being to reference fields of Mixin inner classes
  • Removes the special case for synthetic inner classes (usually switch maps) since it's unneeded and sometimes incorrect
  • Supports arbitrarily nested inner classes

This was a very strange exception to have in the first place, and the default path works fine.
Notably, you are also allowed to have enums inside Mixins, in which case those would be given different names for each target class and therefore any switch tables referencing them are *not* safe to share.
@LlamaLad7 LlamaLad7 merged commit 495f177 into main Jan 16, 2026
2 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.

3 participants