diff --git a/tests/pos/i8424.scala b/tests/pos/i8424.scala new file mode 100644 index 000000000000..f557e32e9326 --- /dev/null +++ b/tests/pos/i8424.scala @@ -0,0 +1,9 @@ + +trait T +trait U + +class Test(x: Any)(using val t: T = ???)(using val u: U = ???, disregard: Any = ???) + +object Test { + def apply() = new Test(???) +}