We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9ff1b commit 2792ff9Copy full SHA for 2792ff9
1 file changed
tests/cases/fourslash/jsSpecialAssignmentMerging.ts
@@ -0,0 +1,22 @@
1
+/// <reference path="fourslash.ts" />
2
+// @noEmit: true
3
+// @allowJs: true
4
+// @checkJs: true
5
+
6
+// @Filename: b.d.ts
7
+//// declare class C { }
8
+// @Filename: a.js
9
+//// C.prototype = { m: "q"; }
10
+// @Filename: test.js
11
+//// var c = new C()
12
+//// /*1*/
13
14
15
+// #24015
16
+// This failed with 13 and up on my machine, so 20 is 2**7 more than needed.
17
+for (let i = 0; i < 20; i++) {
18
+ goTo.marker('1');
19
+ edit.insertLine('c');
20
21
+ verify.getSemanticDiagnostics([])
22
+}
0 commit comments