summaryrefslogtreecommitdiff
path: root/test/files/neg/bug935.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug935.check')
-rw-r--r--test/files/neg/bug935.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/bug935.check b/test/files/neg/bug935.check
index e2c2b87be8..505b82ea15 100644
--- a/test/files/neg/bug935.check
+++ b/test/files/neg/bug935.check
@@ -1,4 +1,7 @@
bug935.scala:5: error: type arguments [Test3.B] do not conform to class E's type parameter bounds [T <: String]
@E[B](new B) val b = "hi"
^
-one error found
+bug935.scala:11: error: type arguments [Test4.B] do not conform to class E's type parameter bounds [T <: String]
+ val b: String @E[B](new B) = "hi"
+ ^
+two errors found