From c2cd6acf993d66eac6f6917ee3b7300eeaceb8a3 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Sat, 14 Apr 2012 15:43:33 +0200 Subject: don't emit tiny switches: optimizer chokes on them workaround for inliner bug in run/t3835 see SI-5672 for the optimizer bug tiny switches (2 cases or less) don't make sense anyway, so this is not a big deal the annotDepMethType.flags contained -Xexperimental, which causes Any* to be considered as a valid return type, before we weren't exposed to this, because the product methods used (tiny) switches; with this change, they went back to pattern matches in any case, the -Xexperimental was intended to turn on dependent method types, not Any* as valid type (I can only assume), and they are now on by default the other tests were affected by our refusal to emit tiny switches --- test/files/pos/annotDepMethType.flags | 1 - 1 file changed, 1 deletion(-) delete mode 100644 test/files/pos/annotDepMethType.flags (limited to 'test/files/pos') diff --git a/test/files/pos/annotDepMethType.flags b/test/files/pos/annotDepMethType.flags deleted file mode 100644 index e1b37447c9..0000000000 --- a/test/files/pos/annotDepMethType.flags +++ /dev/null @@ -1 +0,0 @@ --Xexperimental \ No newline at end of file -- cgit v1.2.3