mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
`yield import(...)` previously caused a syntax error, now it is parsed correctly. `parseYield` is the only place where the value of `startsExpr` matters, so this change should not affect anything else.
4 lines
40 B
JavaScript
4 lines
40 B
JavaScript
function* f() {
|
|
yield import("foo")
|
|
}
|