summaryrefslogblamecommitdiff
path: root/test/files/pos/unapplyContexts2.scala
blob: 1db8c5160fb3eb5eb492fbafee8619b56665ed61 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                     
                                   





                                                                
trait Analyzer {
  val WILDCARD = "23"
}

trait Contexts2 { self: Analyzer =>
  class Context {
    def collect(sels: List[String]): List[String] = sels match {
      case List(WILDCARD) => val dummy = WILDCARD; Nil
    }
  }
}