diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-19 15:21:34 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-19 15:21:34 +0100 |
commit | 63c582b39ba8a248c9d6ad23db2224ea4a809a58 (patch) | |
tree | d953fd9c0b8b8e7c6f22158e27dff9db8944d745 /tests/pos/t296.scala | |
parent | 73d008317a6afaa0fea103ec0c84a39386f7d776 (diff) | |
download | dotty-63c582b39ba8a248c9d6ad23db2224ea4a809a58.tar.gz dotty-63c582b39ba8a248c9d6ad23db2224ea4a809a58.tar.bz2 dotty-63c582b39ba8a248c9d6ad23db2224ea4a809a58.zip |
Test re-org.
Moved some working test to pos. I wonder why they were in pending? They did work for me.
Diffstat (limited to 'tests/pos/t296.scala')
-rw-r--r-- | tests/pos/t296.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pos/t296.scala b/tests/pos/t296.scala index 0c267a307..bb3b22984 100644 --- a/tests/pos/t296.scala +++ b/tests/pos/t296.scala @@ -1,3 +1,5 @@ object Bug { - def foo (l: => String) : String = 12 match { case _ => l} + def foo (l: => String, l1: => String) : String = 12 match { + case 12 => l1 + case _ => l} } |