aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3808.scala
blob: ec95fed4d9972f57c9df141e6be0966d720f8ffd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
object Test {
  def meh: Unit = {
    trait TC[I]
    implicit val tci: TC[Int] = new TC[Int]{}

    def baz[J : TC] : String = "meh"

    baz
    // () // commenting or uncommenting this line should not affect compilation (visibly)
  }
}