diff options
Diffstat (limited to 'test/files/pos/unapplyContexts2.scala')
-rw-r--r-- | test/files/pos/unapplyContexts2.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/unapplyContexts2.scala b/test/files/pos/unapplyContexts2.scala index fcf1e2ff62..1db8c5160f 100644 --- a/test/files/pos/unapplyContexts2.scala +++ b/test/files/pos/unapplyContexts2.scala @@ -2,7 +2,7 @@ trait Analyzer { val WILDCARD = "23" } -trait Contexts2 requires Analyzer { +trait Contexts2 { self: Analyzer => class Context { def collect(sels: List[String]): List[String] = sels match { case List(WILDCARD) => val dummy = WILDCARD; Nil |