summaryrefslogtreecommitdiff
path: root/test/files/pos/t10154.scala
blob: 51616b71d6d6cd373759e5228667cbb3418e6fc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
trait Bar2[T]

object Test2 {
  def wrap {
    object Foo {
      implicit def fooBar: Bar2[Foo.type] = ???
    }

    implicitly[Bar2[Foo.type]]
  }
}