Skip to content

Conversation

@lemz1
Copy link

@lemz1 lemz1 commented Jan 30, 2026

When we deal with an enum abstract we just get the field expression and parse it instead of trying to get the property using the type path.

Should help with one of the issues of #291

Note: Some abstracts cannot be resolved using Type.resolveClass, so we need to handle that too, currently it just throws an error. I assume most of them cannot be resolved because they are enum abstracts. However, there are few regular abstracts that cannot be resolved as well (Any, cpp.Callable, etc.)

@AbnormalPoof AbnormalPoof force-pushed the fix/fix-compile-errors branch from 69906dd to 350e60c Compare January 31, 2026 10:54
@EliteMasterEric EliteMasterEric merged commit 31993ce into FunkinCrew:experimental-abstracts Jan 31, 2026
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.

2 participants