Explorar o código

Handle abstracts.

Juraj Kirchheim %!s(int64=11) %!d(string=hai) anos
pai
achega
c6dc5bdf46
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      std/haxe/macro/ExampleJSGenerator.hx

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

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