haxe <3.2 tests compile fix

This commit is contained in:
Dmitri Granetchi
2015-06-22 22:48:13 +03:00
parent 2c32d80729
commit 9c4e98fd96
+1 -2
View File
@@ -1,6 +1,5 @@
package ;
import haxe.rtti.Rtti;
import bindx.Bind;
import bindx.IBindable;
import buddy.BuddySuite;
@@ -27,7 +26,7 @@ class InlineTest extends BuddySuite {
var rtti = new XmlParser().processElement(Xml.parse(rttiData).firstChild());
cd = switch (rtti) { case TClassdecl(c): c; case _: null; };
#else
cd = Rtti.hasRtti(BindableInline) ? Rtti.getRtti(BindableInline) : null;
cd = haxe.rtti.Rtti.hasRtti(BindableInline) ? haxe.rtti.Rtti.getRtti(BindableInline) : null;
#end
});