retrofit catch as block-scoped (#4165)
This commit is contained in:
@@ -5401,7 +5401,7 @@ merge(Compressor.prototype, {
|
||||
process_boolean_returns(this, compressor);
|
||||
});
|
||||
|
||||
AST_Scope.DEFMETHOD("var_names", function() {
|
||||
AST_BlockScope.DEFMETHOD("var_names", function() {
|
||||
var var_names = this._var_names;
|
||||
if (!var_names) {
|
||||
this._var_names = var_names = Object.create(null);
|
||||
|
||||
Reference in New Issue
Block a user