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
Something I didn't realize is that genjava allows using java-native enums as Haxe enums. The only way to support that would be to make our enums extend java.lang.Enum so there's a common API.
This isn't entirely free because the java.lang.Enum constructor wants a string of the enum name. It would also mean dropping (parts of) the annotation-based reflection approach.
The text was updated successfully, but these errors were encountered:
Oh there's also problems with name clashes between haxe enum argument names and the public API of java.lang.Enum. We should however be able to map that away because there's no Haxe API that's based on enum arg names.
Something I didn't realize is that genjava allows using java-native enums as Haxe enums. The only way to support that would be to make our enums extend
java.lang.Enum
so there's a common API.This isn't entirely free because the
java.lang.Enum
constructor wants a string of the enum name. It would also mean dropping (parts of) the annotation-based reflection approach.The text was updated successfully, but these errors were encountered: