Skip to content

Instantly share code, notes, and snippets.

@PDeveloper
Last active December 21, 2015 16:58
Show Gist options
  • Select an option

  • Save PDeveloper/25f31856775cc0de685d to your computer and use it in GitHub Desktop.

Select an option

Save PDeveloper/25f31856775cc0de685d to your computer and use it in GitHub Desktop.
-abstracts do not have the underlying type generated:
source:
@:enum abstract ClampType(Int) from Int to Int {}
generated:
@:enum abstract ClampType {}
-generates individual file per definition rather than module:
source path structure:
import org.Types.MyType;
generated path structure:
import org.MyType;
-potentially specific to Luxe/Flow build process:
in several generated externs, classes reference a classpath `snow.module.priv_Module.MyType`,
but generated folder structure is:
snow/module/_Module/MyType.hx
and inside is:
`package snow.module._Module;
@:enum extern class snow.module.priv_Module.ComponentOrder_Impl_ {}`
should be:
`package snow.module.priv_Module;
@:enum extern class ComponentOrder_Impl_ {}`
-also potentially specific to Luxe/Flow:
generates `Unkown` type in a few places, I think this should be changed to Dynamic, not sure yet.
Will be updated as I spot more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment