AST_Catch shouldn't really inherit from AST_Scope. Fix #363

I hereby acknowledge that figure_out_scope has become a mess.
This commit is contained in:
Mihai Bazon
2013-12-05 13:30:29 +02:00
parent d2190c2bf3
commit 8f35a363d9
3 changed files with 55 additions and 5 deletions

View File

@@ -509,7 +509,7 @@ var AST_Catch = DEFNODE("Catch", "argname", {
walk_body(this, visitor);
});
}
}, AST_Scope);
}, AST_Block);
var AST_Finally = DEFNODE("Finally", null, {
$documentation: "A `finally` node; only makes sense as part of a `try` statement"