DoclerLabs / hexMachina

Releases, issues, documentation, website of hexMachina, framework written in Haxe
http://hexmachina.org
MIT License
44 stars 8 forks source link

Function trigger support for enums #210

Closed st3veV closed 7 years ago

st3veV commented 7 years ago

Currently enums are not supported when being used in function triggers:

enum Color
{
  Red;
  Green;
  Blue;
}

//....

public var myTrigger(default,never):ITrigger<Color->Void>
FrancisBourre commented 7 years ago

Macro was unable to figure out the right module where the class was embedded.