diff options
-rw-r--r-- | test/files/neg/bug2144.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug2144.check b/test/files/neg/bug2144.check index ba3238dcf9..989bddc21e 100644 --- a/test/files/neg/bug2144.check +++ b/test/files/neg/bug2144.check @@ -1,4 +1,4 @@ -bug2144.scala:2: error: Parameter type in structural refinement may not refer to abstract type defined outside that same refinement +bug2144.scala:2: error: Parameter type in structural refinement may not refer to an abstract type defined outside that refinement def foo[A](a: A) = new { def bar(x: A): A = x } - ^ + ^ one error found |