diff options
Diffstat (limited to 'test/files/neg/t2918.check')
-rw-r--r-- | test/files/neg/t2918.check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/t2918.check b/test/files/neg/t2918.check index e67f24ec57..d125895463 100644 --- a/test/files/neg/t2918.check +++ b/test/files/neg/t2918.check @@ -1,7 +1,7 @@ -t2918.scala:2: error: cyclic aliasing or subtyping involving type A - def g[X, A[X] <: A[X]](x: A[X]) = x - ^ t2918.scala:2: error: A does not take type parameters - def g[X, A[X] <: A[X]](x: A[X]) = x + def g[X, A[X] <: A[X]](x: A[X]) = x ^ +t2918.scala:2: error: cyclic aliasing or subtyping involving type A + def g[X, A[X] <: A[X]](x: A[X]) = x + ^ two errors found |