From d9c0cb6165bd60d79bdf764291c417c86623b042 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 21 Aug 2012 07:15:27 +0200 Subject: Suppressed 'possible cause' mis-warning. I have seen this warning a bunch of times and it has not yet been close to right. --- test/files/neg/not-possible-cause.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/neg/not-possible-cause.scala (limited to 'test/files/neg/not-possible-cause.scala') diff --git a/test/files/neg/not-possible-cause.scala b/test/files/neg/not-possible-cause.scala new file mode 100644 index 0000000000..83ec24dec8 --- /dev/null +++ b/test/files/neg/not-possible-cause.scala @@ -0,0 +1,3 @@ +object Foo { + def foo[A <: Product](a: A) { type X = a.type } +} -- cgit v1.2.3