ignore interfaces (TODO: chech interfaces meta)

This commit is contained in:
Dima Granetchi committed 2014-12-28 15:22:07 +02:00
1 parent 2b3e0d0ea7
commit 6afcc54a6c
2 files changed
+13 -6

No files matched your search

+9 -3
View File
@@ -31,14 +31,20 @@ class BindMacros {
macro static public function buildIBindable():Array<Field> {
var type = Context.getLocalType();
if (processed.indexOf(type) > -1) {
return null;
return null;
}
processed.push(type);
var classType = type.getClass();
if (classType.isInterface) {
return null;
}
if (bindingSignalProvider == null) {
bindingSignalProvider = new bindx.BindSignal.BindSignalProvider();
}
var classType = type.getClass();
var fields = Context.getBuildFields();
var meta = classType.bindableMeta();