deduplicate AST_Super & AST_This logic (#2366)

This commit is contained in:
Alex Lam S.L
2017-10-17 04:19:53 +08:00
committed by GitHub
parent a89f126db6
commit b6a7ca292e
4 changed files with 30 additions and 8 deletions

View File

@@ -1042,7 +1042,7 @@ var AST_This = DEFNODE("This", null, {
var AST_Super = DEFNODE("Super", null, {
$documentation: "The `super` symbol",
}, AST_Symbol);
}, AST_This);
var AST_Constant = DEFNODE("Constant", null, {
$documentation: "Base class for all constants",