blob: fcf1e2ff62191a1e658391003e4cf50350b25c27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
trait Analyzer {
val WILDCARD = "23"
}
trait Contexts2 requires Analyzer {
class Context {
def collect(sels: List[String]): List[String] = sels match {
case List(WILDCARD) => val dummy = WILDCARD; Nil
}
}
}
|