Ver Fonte

work around as3 Type vs haxe.macro.Type issue

Johann Borck há 11 anos atrás
pai
commit
31565a39da
1 ficheiros alterados com 1 adições e 2 exclusões
  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)}]';