mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-27 04:46:25 -05:00
Fix missing parsingContext restore at return in parseDelimitedList (#48999)
This commit is contained in:
4
tests/cases/compiler/parserUnparsedTokenCrash1.ts
Normal file
4
tests/cases/compiler/parserUnparsedTokenCrash1.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// @allowJs: true
|
||||
// @outDir: ./out
|
||||
// @filename: a.js
|
||||
( y = 1 ; 2 )
|
||||
1
tests/cases/compiler/parserUnparsedTokenCrash2.ts
Normal file
1
tests/cases/compiler/parserUnparsedTokenCrash2.ts
Normal file
@@ -0,0 +1 @@
|
||||
export = } x = ( y = z ==== 'function') {
|
||||
Reference in New Issue
Block a user