fix corner cases in arrow functions & rests (#4667)

fixes #4666
This commit is contained in:
Alex Lam S.L
2021-02-19 00:26:57 +00:00
committed by GitHub
parent 10de27ca3d
commit 5f60c1b830
4 changed files with 41 additions and 3 deletions

View File

@@ -1198,6 +1198,7 @@ function parse($TEXT, options) {
}
} else {
body = [];
handle_regexp();
value = maybe_assign();
}
S.input.pop_directives_stack();