From 38c668fcc7df015f57cb7891154e261cd0a1fd76 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 18 Feb 2011 19:54:55 +0000 Subject: Test case closes #2070. No review. --- test/files/neg/t2070.check | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/neg/t2070.check (limited to 'test/files/neg/t2070.check') diff --git a/test/files/neg/t2070.check b/test/files/neg/t2070.check new file mode 100644 index 0000000000..bd049409a8 --- /dev/null +++ b/test/files/neg/t2070.check @@ -0,0 +1,5 @@ +t2070.scala:8: error: The kind of trait T does not conform to the expected kind of type T[X] in trait A. +t2070.B.T's type parameters do not match type T's expected parameters: type X (in object B) has one type parameter, but type X (in trait A) has none + trait T[X[_]] + ^ +one error found -- cgit v1.2.3