Skip to content

Commit

Permalink
Merge pull request #14862 from dotty-staging/test-8424
Browse files Browse the repository at this point in the history
Regression test for #8424
  • Loading branch information
odersky committed Apr 6, 2022
2 parents 99a31f7 + 990ccba commit 3d1d299
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 3d1d299

Please sign in to comment.