Skip to content

Instantly share code, notes, and snippets.

View ShadowBelmolve's full-sized avatar

Renan Tomal Fernandes ShadowBelmolve

View GitHub Profile
@ShadowBelmolve
ShadowBelmolve / Main.hx
Last active January 2, 2016 10:19 — forked from anonymous/Main.hx
haxe-traits break with this. Seems that if you import an "interface A"(IEntity) that has a variable of type "class B"(EntityData) that has a function with return type "class C"(Entity) and "class C" implements the "interface A", then variables from "interface A" simply aren't copied to "class C" or something like this. The same if you import "Cl…
package;
//works
//import world.Entity;
//works
//import world.IEntity;
//import world.Entity;
//not work