Rename facade and update code to deal with that.

This commit is contained in:
back2dos
2013-09-29 13:07:10 +02:00
parent 8dc700b434
commit fe51e127f2
9 changed files with 13 additions and 13 deletions

View File

@@ -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();
}
}