summaryrefslogtreecommitdiff
path: root/test/files/neg/escapes.check
blob: 3f1f32909c5b60ca206a5cad11d32834cebd4d78 (plain) (blame)
1
2
3
4
escapes.scala:2 error: type t escapes its defining scope as part of type t
  def f(x: Any) = x match { case y: Cell[t] => y.elem }
                                                ^
one error found