Skip to content

Commit e0e3695

Browse files
committed
test: don't suggest completions for param names in definition
1 parent cb079b9 commit e0e3695

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

presentation-compiler/test/dotty/tools/pc/tests/completion/CompletionSuite.scala

+13
Original file line numberDiff line numberDiff line change
@@ -2042,3 +2042,16 @@ class CompletionSuite extends BaseCompletionSuite:
20422042
|""".stripMargin,
20432043
includeCompletionKind = true
20442044
)
2045+
2046+
@Test def `def-arg` =
2047+
check(
2048+
"""|package a
2049+
|object W {
2050+
| val aaaaaa = 1
2051+
|}
2052+
|object O {
2053+
| def foo(aa@@)
2054+
|}
2055+
|""".stripMargin,
2056+
""
2057+
)

0 commit comments

Comments
 (0)