-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area:metaprogramming:quotesIssues related to quotes and splicesIssues related to quotes and splicesexp:advanceditype:bugprio:low
Description
import scala.quoted._
import scala.quoted.staging.{Compiler => StagingCompiler, _}
object Test {
given StagingCompiler = StagingCompiler.make(getClass.getClassLoader)
def main(args: Array[String]): Unit =
withQuotes {
val q = '{
class Foo(a: Int) {
def this() = this(6)
}
()
}
println(q.show)
}
}
fails with
wrong number of arguments at <no phase> for (): Foo: ((): Foo)(Foo.this.<init>), expected: 0, found: 1
Metadata
Metadata
Assignees
Labels
area:metaprogramming:quotesIssues related to quotes and splicesIssues related to quotes and splicesexp:advanceditype:bugprio:low