diff --git a/lib/ast.js b/lib/ast.js index d253b09a..fde574c5 100644 --- a/lib/ast.js +++ b/lib/ast.js @@ -69,7 +69,7 @@ function DEFNODE(type, props, methods, base) { } if (base) base.SUBCLASSES.push(ctor); ctor.prototype.CTOR = ctor; - ctor.SELF_PROPS = self_props; + ctor.SELF_PROPS = props; ctor.SUBCLASSES = []; if (type) { ctor.prototype.TYPE = ctor.TYPE = type;