-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:presentation-compilerRelated to the presentation compiler module used by Metals and possibly other toolsRelated to the presentation compiler module used by Metals and possibly other toolsgood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:bug
Milestone
Description
Compiler version
3.4.1
Minimized code
// file dotty/tools/pc/tests/signaturehelp/SignatureHelpSuite.scala
@Test def `proper-param-empty-list` =
check(
"""
|object x {
| def foo[K, V](): Unit = ???
| foo(@@)
|}
|""".stripMargin,
"foo[K, V](): Unit"
)
Output
Last parameter is selected as current argument.
Expectation
No element should be selected as active parameter.
Metadata
Metadata
Assignees
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:presentation-compilerRelated to the presentation compiler module used by Metals and possibly other toolsRelated to the presentation compiler module used by Metals and possibly other toolsgood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:bug