瀏覽代碼

Handle abstracts.

Juraj Kirchheim 11 年之前
父節點
當前提交
c6dc5bdf46
共有 1 個文件被更改,包括 1 次插入0 次删除
  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";
 		};
 	}