> The problem with enums is that they are just numbers.
Who said that ?
enum X {
Abc;
SomethingElse;
}
trace(Std.string(Abc)); "Abc"
trace(Std.string(SomethingElse)); "SomethingElse"
trace(Std.is(Abc,X)); // true
However, yes, enums need to be commonly compiled by different units.
Nicolas