Skip to content

Commit

Permalink
test: don't suggest completions for param names in definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Aug 7, 2024
1 parent cb079b9 commit e0e3695
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2042,3 +2042,16 @@ class CompletionSuite extends BaseCompletionSuite:
|""".stripMargin,
includeCompletionKind = true
)

@Test def `def-arg` =
check(
"""|package a
|object W {
| val aaaaaa = 1
|}
|object O {
| def foo(aa@@)
|}
|""".stripMargin,
""
)

0 comments on commit e0e3695

Please sign in to comment.