diff options
author | Martin Odersky <odersky@gmail.com> | 2016-08-18 17:50:43 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-08-18 17:50:43 +0200 |
commit | 806a7b3b6f8c6e7df276bceaa7b0a19c580a3486 (patch) | |
tree | cd261bad2c86c118d97a0ecedff0308cd2c2dbe7 /tests/disabled/not-representable | |
parent | d5ef867b1f89c79f8620129693e4f1e9bc6f617c (diff) | |
download | dotty-806a7b3b6f8c6e7df276bceaa7b0a19c580a3486.tar.gz dotty-806a7b3b6f8c6e7df276bceaa7b0a19c580a3486.tar.bz2 dotty-806a7b3b6f8c6e7df276bceaa7b0a19c580a3486.zip |
Test reshuffling
- Delete redundant t2660 (exists elready in pos)
- Comment t1756
- Recategorize tryexpr
Diffstat (limited to 'tests/disabled/not-representable')
-rw-r--r-- | tests/disabled/not-representable/pos/tryexpr.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/disabled/not-representable/pos/tryexpr.scala b/tests/disabled/not-representable/pos/tryexpr.scala new file mode 100644 index 000000000..c6c2febf7 --- /dev/null +++ b/tests/disabled/not-representable/pos/tryexpr.scala @@ -0,0 +1,10 @@ +// stretching more flexible try/catch's legs a bit +object o { + try Integer.parseInt("xxxx") catch { case e => 5 } + try 5 + try try try 10 + try try try 10 catch { case e => 20 } finally 30 + try try try 10 catch { case e => 20 } finally 30 finally 40 + try try try 10 catch { case e => 20 } finally 30 finally 40 finally 50 + try try try 10 finally 50 +} |