Explorar o código

work around as3 Type vs haxe.macro.Type issue

Johann Borck %!s(int64=11) %!d(string=hai) anos
pai
achega
31565a39da
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      std/haxe/macro/Printer.hx

+ 1 - 2
std/haxe/macro/Printer.hx

@@ -23,7 +23,6 @@
 package haxe.macro;
 
 import haxe.macro.Expr;
-import haxe.macro.Tools;
 using Lambda;
 using StringTools;
 
@@ -163,7 +162,7 @@ class Printer {
 
 	public function printExpr(e:Expr) return e == null ? "#NULL" : switch(e.expr) {
 		#if macro
-		case EConst(CString(s)): TMacroStringTools.isFormatExpr(e) ? printFormatString(s) : printString(s);
+		case EConst(CString(s)): haxe.macro.MacroStringTools.isFormatExpr(e) ? printFormatString(s) : printString(s);
 		#end
 		case EConst(c): printConstant(c);
 		case EArray(e1, e2): '${printExpr(e1)}[${printExpr(e2)}]';