check rtti availability
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ class InlineTest extends BuddySuite {
|
|||||||
var rtti = new XmlParser().processElement(Xml.parse(rttiData).firstChild());
|
var rtti = new XmlParser().processElement(Xml.parse(rttiData).firstChild());
|
||||||
cd = switch (rtti) { case TClassdecl(c): c; case _: null; };
|
cd = switch (rtti) { case TClassdecl(c): c; case _: null; };
|
||||||
#else
|
#else
|
||||||
cd = Rtti.getRtti(BindableInline);
|
cd = Rtti.hasRtti(BindableInline) ? Rtti.getRtti(BindableInline) : null;
|
||||||
#end
|
#end
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user