Pārlūkot izejas kodu

Handle abstracts.

Juraj Kirchheim 11 gadi atpakaļ
vecāks
revīzija
c6dc5bdf46
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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";
 		};
 	}