From cbd0205999d19e378f9f7ac8ca685a134862cf47 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sat, 19 Jan 2013 11:57:52 +0100 Subject: SI-6902 Check unreachability under @unchecked Only exhaustiveness checking should be disabled if the scrutinee of a match as annotated as `: @unchecked`. This was the pre-2.10.x behaviour. This also fixes a variation of the closed ticket, SI-6011. The exhaustiveness check is needed to safely fallback from emitting a table switch if duplicate cases are detected. --- test/files/neg/t6902.flags | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/neg/t6902.flags (limited to 'test/files/neg/t6902.flags') diff --git a/test/files/neg/t6902.flags b/test/files/neg/t6902.flags new file mode 100644 index 0000000000..e8fb65d50c --- /dev/null +++ b/test/files/neg/t6902.flags @@ -0,0 +1 @@ +-Xfatal-warnings \ No newline at end of file -- cgit v1.2.3