summaryrefslogtreecommitdiff
path: root/test/files/neg/not-possible-cause.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-08-21 07:15:27 +0200
committerPaul Phillips <paulp@improving.org>2012-09-01 10:02:22 -0700
commitd9c0cb6165bd60d79bdf764291c417c86623b042 (patch)
tree7b9db194590ae8d884d4cafc2e12f923b4d893ba /test/files/neg/not-possible-cause.scala
parent6b87cdcd7bd6d1932e87e6bf8dc6029d6461a488 (diff)
downloadscala-d9c0cb6165bd60d79bdf764291c417c86623b042.tar.gz
scala-d9c0cb6165bd60d79bdf764291c417c86623b042.tar.bz2
scala-d9c0cb6165bd60d79bdf764291c417c86623b042.zip
Suppressed 'possible cause' mis-warning.
I have seen this warning a bunch of times and it has not yet been close to right.
Diffstat (limited to 'test/files/neg/not-possible-cause.scala')
-rw-r--r--test/files/neg/not-possible-cause.scala3
1 files changed, 3 insertions, 0 deletions
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 }
+}