summaryrefslogtreecommitdiff
path: root/test/files/buildmanager
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/buildmanager')
-rw-r--r--test/files/buildmanager/t2653/t2653.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/buildmanager/t2653/t2653.check b/test/files/buildmanager/t2653/t2653.check
index 0d40601962..6a4fc0e982 100644
--- a/test/files/buildmanager/t2653/t2653.check
+++ b/test/files/buildmanager/t2653/t2653.check
@@ -9,5 +9,7 @@ compiling Set(B.scala)
B.scala:2: error: type mismatch;
found : A[Int]
required: A[Any]
+Note: Int <: Any, but class A is invariant in type T.
+You may wish to define T as +T instead. (SLS 4.5)
val a: A[Any] = new A[Int]
^