summaryrefslogtreecommitdiff
path: root/test/files/pos/t1659.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1659.check')
-rw-r--r--test/files/pos/t1659.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t1659.check b/test/files/pos/t1659.check
new file mode 100644
index 0000000000..b75da8798b
--- /dev/null
+++ b/test/files/pos/t1659.check
@@ -0,0 +1,5 @@
+t1659.scala:3: error: overriding method u in trait W of type [A](v: Y{type X = A})Unit;
+ method u has incompatible type
+class Z extends W { def u[A](v : Y { type X = A }) = null }
+ ^
+one error found