Skip to content

Commit a0aea62

Browse files
committed
add more complex test case
1 parent 038e953 commit a0aea62

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/cases/fourslash/noCompletionsForCurrentOrLaterParameters.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
//// function f3(a = a + /*3*/, b = a/*4*/, c = /*5*/) { }
66
//// function f3(a) {
77
//// function f4(b = /*6*/, c) { }
8-
////}
8+
//// }
9+
//// const f5 = (a, b = (c = /*7*/, e) => { }, d = b) => { }
910

1011
verify.completions({
1112
marker: ["1", "2"],
@@ -31,3 +32,8 @@ verify.completions({
3132
excludes: ["b", "c"],
3233
includes: ["a"],
3334
})
35+
36+
verify.completions({
37+
marker: ["7"],
38+
includes: ["a", "b", "d"],
39+
})

0 commit comments

Comments
 (0)