Open
Description
Compiler version
3.7.0-RC1
Minimized code
//> using scala 3
def hello(using String): Unit = ???
@main def main1(): Unit =
val str = "hello"
hello(st@@)
Output
//> using scala 3
def hello(using String): Unit = ???
@main def main1(): Unit =
val str = "hello"
hello(str)
Expectation
//> using scala 3
def hello(using String): Unit = ???
@main def main1(): Unit =
val str = "hello"
hello(using str)
since we know that we are in using params
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
using
in applications with trailing lambda syntax #22937[-]Insert 'using' when completing inside suing params[/-][+]Insert 'using' when completing inside using params[/+]