forked from microsoft/TypeScript
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick PR microsoft#48067 into release-4.6
Component commits: 8d6b965 Add failing test 64cfd70 Fix incorrect parser error assumption in semicolon handling leading to incremental parser brokenness
- Loading branch information
1 parent
78ee4ca
commit 88ead2f
Showing
3 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// <reference path="fourslash.ts" /> | ||
|
||
// @target: esnext | ||
// @lib: es2015 | ||
// @strict: true | ||
|
||
//// class C { | ||
//// map = new Set<string, number>/*$*/ | ||
//// | ||
//// foo() { | ||
//// | ||
//// } | ||
//// } | ||
|
||
goTo.marker('$'); | ||
edit.insert('()'); | ||
verify.getSyntacticDiagnostics([]); |