aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/implicitonSelect.scala
blob: 4f5f90adae5d46f275a8e75e332c19de78b78bd2 (plain) (blame)
1
2
3
4
5
6
7
8
object test {
  class A
  class B
  implicit def a2b(x: A): B = new B
  class ARef { val a: A = new A }
  val x = new ARef
  val b: B = x.a
}