diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-07-29 09:43:42 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-07-29 09:43:42 -0700 |
commit | cf5bd70ce77f659b18cb4f326f9354f5e052277a (patch) | |
tree | 6cd35fba3e21c7e9d5b27af18e40f83694e8009f /test/files/run | |
parent | 9c5c46423546ffc4f331130648985b04626d38cb (diff) | |
parent | 635892e34119d2e4b82fbced5b9d8cbd6dd064b7 (diff) | |
download | scala-cf5bd70ce77f659b18cb4f326f9354f5e052277a.tar.gz scala-cf5bd70ce77f659b18cb4f326f9354f5e052277a.tar.bz2 scala-cf5bd70ce77f659b18cb4f326f9354f5e052277a.zip |
Merge pull request #2737 from retronym/ticket/7669
SI-7669 Fix exhaustivity warnings for recursive ADTs.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/virtpatmat_casting.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/virtpatmat_casting.scala b/test/files/run/virtpatmat_casting.scala index d970abae90..22ac29bc3b 100644 --- a/test/files/run/virtpatmat_casting.scala +++ b/test/files/run/virtpatmat_casting.scala @@ -4,5 +4,6 @@ object Test extends App { // since the :: extractor's argument must be a ::, there has to be a cast before its unapply is invoked case x :: y :: z :: a :: xs => xs ++ List(x) case x :: y :: z :: xs => xs ++ List(x) + case _ => List(0) }) } |