summaryrefslogtreecommitdiff
path: root/test/files/neg/override.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/override.check')
-rw-r--r--test/files/neg/override.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/override.check b/test/files/neg/override.check
index fc152cb3b1..8be98bf4d0 100644
--- a/test/files/neg/override.check
+++ b/test/files/neg/override.check
@@ -1,5 +1,5 @@
override.scala:9: error: overriding type T in trait A with bounds >: Int <: Int;
type T in trait B with bounds >: String <: String has incompatible type
- lazy val x : A with B = x
+ lazy val x : A with B = {println(""); x}
^
one error found