Skip to content

Commit

Permalink
Add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Feb 16, 2022
1 parent b9a06e5 commit 8d6b965
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/cases/fourslash/parserCorruptionAfterMapInClass.ts
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([]);

0 comments on commit 8d6b965

Please sign in to comment.