From ad9d87b1faad22c1a2e05351757c0a940e2a0ef2 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Wed, 28 May 2014 15:20:01 +0200 Subject: SI-8631 Treat `A with Sealed` as enumerable for pattern matching Enumerate the subtypes of sealed parent types of refinement types, and filter those that conform to the refinement type. Such types can crop up easily when LUB-bing case classes which add `Product with Serializable` to the mix. --- test/files/neg/virtpatmat_exhaust_compound.flags | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/neg/virtpatmat_exhaust_compound.flags (limited to 'test/files/neg/virtpatmat_exhaust_compound.flags') diff --git a/test/files/neg/virtpatmat_exhaust_compound.flags b/test/files/neg/virtpatmat_exhaust_compound.flags new file mode 100644 index 0000000000..85d8eb2ba2 --- /dev/null +++ b/test/files/neg/virtpatmat_exhaust_compound.flags @@ -0,0 +1 @@ +-Xfatal-warnings -- cgit v1.2.3