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