2
0
Эх сурвалжийг харах

Let ExprTools.makeMacroPosition public

杨博 11 жил өмнө
parent
commit
973f5b29fb

+ 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"))