浏览代码

Fix FileTree completion in macro context (#829)

Pavel Alexandrov 5 年之前
父节点
当前提交
23bc07474f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hxd/res/FileTree.hx

+ 2 - 0
hxd/res/FileTree.hx

@@ -1,4 +1,5 @@
 package hxd.res;
+#if macro
 import haxe.macro.Context;
 import haxe.macro.Expr;
 
@@ -375,3 +376,4 @@ class FileTree {
 	}
 
 }
+#end