From f9b1917e8be7a178282514429f494a3905055aab Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 26 Jan 2011 07:33:37 +0000 Subject: closes #4137. --- test/files/neg/t4137.check | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/neg/t4137.check (limited to 'test/files/neg/t4137.check') diff --git a/test/files/neg/t4137.check b/test/files/neg/t4137.check new file mode 100644 index 0000000000..9767bdb1ce --- /dev/null +++ b/test/files/neg/t4137.check @@ -0,0 +1,9 @@ +t4137.scala:9: error: overriding type EPC in trait A, which equals [X1]C[X1]; + type EPC has incompatible type + override type EPC = C[T] + ^ +t4137.scala:10: error: overriding type EPC2 in trait A, which equals [X1]C[X1]; + type EPC2 has incompatible type + override type EPC2[X1 <: String] = C[X1] + ^ +two errors found -- cgit v1.2.3