summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1275.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug1275.check')
-rw-r--r--test/files/neg/bug1275.check8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/files/neg/bug1275.check b/test/files/neg/bug1275.check
index 9f806c0689..6ee8365796 100644
--- a/test/files/neg/bug1275.check
+++ b/test/files/neg/bug1275.check
@@ -1,4 +1,6 @@
-bug1275.scala:13: error: The kind of type MyType does not conform to the expected kind of type MyType[+t] <: TestCovariance.Seq[t] in trait Seq.
- def span[a, s <: Seq[a] { type MyType <: s } ](xs: s): s = xs f
- ^
+bug1275.scala:11: error: type mismatch;
+ found : xs.MyType[a]
+ required: s
+ = xs f
+ ^
one error found