diff --git a/src/tink/MacroApi.hx b/src/tink/MacroApi.hx index d7bdf7d..16da748 100644 --- a/src/tink/MacroApi.hx +++ b/src/tink/MacroApi.hx @@ -9,6 +9,7 @@ typedef Bouncer = tink.macro.Bouncer; typedef Types = tink.macro.Types; typedef Binops = tink.macro.Ops.Binary; typedef Unops = tink.macro.Ops.Unary; + typedef Outcome = tink.core.Outcome; typedef OutcomeTools = tink.core.Outcome.OutcomeTools; //TODO: consider adding stuff from haxe.macro.Expr here @@ -17,5 +18,6 @@ class MacroApi { static var idCounter = 0; static public inline function tempName(?prefix = '__tinkTmp'):String return prefix + Std.string(idCounter++); - static public function pos() return haxe.macro.Context.currentPos(); + static public function pos() + return haxe.macro.Context.currentPos(); } \ No newline at end of file