fix corner case in inline (#4754)

fixes #4753
This commit is contained in:
Alex Lam S.L
2021-03-08 04:38:53 +00:00
committed by GitHub
parent e4848a7f5a
commit 077512d151
4 changed files with 99 additions and 24 deletions

View File

@@ -1743,7 +1743,7 @@ function parse($TEXT, options) {
name: "new.target",
start: start,
end: prev(),
})
});
}
var newexp = expr_atom(false), args;
if (is("punc", "(")) {