From 00c43cee458a600a9edc4a7205f96ec8720bbd1c Mon Sep 17 00:00:00 2001 From: yimi Date: Mon, 18 Sep 2017 07:18:28 +0000 Subject: [PATCH] fix --- lib/ast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;