see #10805
@@ -39,7 +39,7 @@ class ComplexTypeTools {
static public function toString(c:ComplexType):String
return new Printer().printComplexType(c);
- #if (macro || display)
+ #if macro
/**
Returns a type corresponding to `c`.
@@ -32,7 +32,7 @@ import haxe.macro.Expr;
@:hlNative("macro")
#end
class MacroStringTools {
Formats `String` `s` using the usual interpolation rules.
@@ -60,7 +60,7 @@ class PositionTools {
}
Converts a `haxe.macro.Position` to a `haxe.display.Position.Location`.
@@ -162,7 +162,7 @@ class TypeTools {
Follows all typedefs of `t` to reach the actual type.
@@ -167,7 +167,7 @@ class TypedExprTools {
static public function toString(t:TypedExpr, ?pretty = false):String {
return @:privateAccess haxe.macro.Context.sExpr(t, pretty);