From 340529410696da2e5110d49a5a8d19572bf272ba Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 31 Dec 2012 01:49:32 -0800 Subject: SI-6897, lubs and varargs star. Don't allow lubs to calculate refinement types which contain a varargs star outside of legal varargs star position. --- test/files/pos/t6897.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/t6897.scala (limited to 'test') diff --git a/test/files/pos/t6897.scala b/test/files/pos/t6897.scala new file mode 100644 index 0000000000..a7a03a1d3a --- /dev/null +++ b/test/files/pos/t6897.scala @@ -0,0 +1,6 @@ +class A { + val html = (null: Any) match { + case 1 => + case 2 =>

+ } +} -- cgit v1.2.3