real fix 3.2 version rtti api

This commit is contained in:
Dmitri Granetchi
2015-06-22 22:40:01 +03:00
parent efb8701a41
commit 91624b134f
+5 -1
View File
@@ -22,9 +22,13 @@ class InlineTest extends BuddySuite {
before(function () {
foundFields = 0;
b = new BindableInline();
var rttiData:String = #if (haxe_ver<3.2) untyped BindableInline.__rtti #else Rtti.getRtti(BindableInline) #end;
#if (haxe_ver<3.2)
var rttiData:String = untyped BindableInline.__rtti;
var rtti = new XmlParser().processElement(Xml.parse(rttiData).firstChild());
cd = switch (rtti) { case TClassdecl(c): c; case _: null; };
#else
cd = Rtti.getRtti(BindableInline);
#end
});
it("bindx should generate inline setter", function () {