aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t4062.scala
blob: 63e05b7392e1fb902a6e3adc14076c26d9f739b5 (plain) (tree)
1
2
3
4
5
6
7






                                                      
class A(val f : String)

class B(a : Option[String], f : String) extends A(f) {
  a match {
    case Some(`f`) => print(f)
  }
}