Browse Source

Let ExprTools.makeMacroPosition public

杨博 11 năm trước cách đây
mục cha
commit
973f5b29fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/macro/ExprTools.hx

+ 1 - 1
std/haxe/macro/ExprTools.hx

@@ -38,7 +38,7 @@ class ExprTools {
 	/**
 		Returns the `Position` where the caller of `makeMacroPosition` is.
 	**/
-	macro static function makeMacroPosition():ExprOf<Position>
+	macro public static function makeMacroPosition():ExprOf<Position>
 	{
 		var positionExpr = Context.makeExpr(Context.getPosInfos(Context.currentPos()), Context.currentPos());
 		if (Context.defined("macro"))