Fixed bug in using error variable within catch
block.
This commit is contained in:
@@ -2915,6 +2915,7 @@ fn parse_try_catch(
|
||||
}
|
||||
|
||||
let name = state.get_identifier(name);
|
||||
state.stack.push((name.clone(), AccessMode::ReadWrite));
|
||||
Some(Ident { name, pos })
|
||||
} else {
|
||||
None
|
||||
|
Reference in New Issue
Block a user