From 1c6543dc7dfd839cf11f54a8de1b7f6c7e1c9247 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 21 Aug 2012 15:13:01 +0200 Subject: Fix for SI-6264, crash in checkCheckable. The classic fail of assuming you will only receive a specific subclass of Type. --- test/files/neg/t6264.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/neg/t6264.check (limited to 'test/files/neg/t6264.check') diff --git a/test/files/neg/t6264.check b/test/files/neg/t6264.check new file mode 100644 index 0000000000..438be4c39f --- /dev/null +++ b/test/files/neg/t6264.check @@ -0,0 +1,4 @@ +t6264.scala:3: error: non-variable type argument Tuple1[_] in type Tuple2[_, Tuple1[_]] is unchecked since it is eliminated by erasure + x.isInstanceOf[Tuple2[_, Tuple1[_]]] + ^ +one error found -- cgit v1.2.3