Skip to content

Commit

Permalink
Regression test for scala#8424
Browse files Browse the repository at this point in the history
Closed scala#8424
  • Loading branch information
odersky authored and michelou committed Apr 25, 2022
1 parent 71cd02b commit 3af9fe5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/pos/i8424.scala
Original file line number Diff line number Diff line change
@@ -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(???)
}

0 comments on commit 3af9fe5

Please sign in to comment.