Bläddra i källkod

Handle abstracts.

Juraj Kirchheim 11 år sedan
förälder
incheckning
c6dc5bdf46
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      std/haxe/macro/ExampleJSGenerator.hx

+ 1 - 0
std/haxe/macro/ExampleJSGenerator.hx

@@ -49,6 +49,7 @@ class ExampleJSGenerator {
 		return switch(t) {
 		return switch(t) {
 			case TInst(c, _): getPath(c.get());
 			case TInst(c, _): getPath(c.get());
 			case TEnum(e, _): getPath(e.get());
 			case TEnum(e, _): getPath(e.get());
+			case TAbstract(a, _): getPath(a.get());
 			default: throw "assert";
 			default: throw "assert";
 		};
 		};
 	}
 	}