Rename facade and update code to deal with that.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package ;
|
||||
|
||||
import haxe.macro.Expr;
|
||||
using tink.Macro;
|
||||
using tink.MacroApi;
|
||||
|
||||
class Exprs extends Base {
|
||||
function exprEq(e1:Expr, e2:Expr) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package ;
|
||||
import haxe.macro.Context;
|
||||
import haxe.macro.Expr;
|
||||
|
||||
using tink.Macro;
|
||||
using tink.MacroApi;
|
||||
|
||||
class Positions extends Base {
|
||||
function stringCompare<A>(v1:A, v2:A)
|
||||
|
||||
@@ -3,7 +3,7 @@ package ;
|
||||
import haxe.macro.Expr;
|
||||
import haxe.macro.Context;
|
||||
|
||||
using tink.Macro;
|
||||
using tink.MacroApi;
|
||||
|
||||
class Types extends Base {
|
||||
function type(c:ComplexType)
|
||||
@@ -35,12 +35,12 @@ class Types extends Base {
|
||||
assertSuccess((macro : Int).toType());
|
||||
assertFailure((macro : Tni).toType());
|
||||
function blank()
|
||||
return type(Macro.pos().makeBlankType());
|
||||
return type(MacroApi.pos().makeBlankType());
|
||||
|
||||
var bool = type(macro : Bool);
|
||||
assertTrue(blank().isSubTypeOf(bool).isSuccess());
|
||||
assertTrue(bool.isSubTypeOf(blank()).isSuccess());
|
||||
|
||||
Macro.pos().makeBlankType().toString();
|
||||
MacroApi.pos().makeBlankType().toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user