diff options
Diffstat (limited to 'test/files/neg/escapes.check')
-rw-r--r-- | test/files/neg/escapes.check | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/neg/escapes.check b/test/files/neg/escapes.check index 95299a4c75..3f1f32909c 100644 --- a/test/files/neg/escapes.check +++ b/test/files/neg/escapes.check @@ -1,5 +1,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 }
+ def f(x: Any) = x match { case y: Cell[t] => y.elem } ^ -subst type t to T one error found |