aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-08-05 12:35:34 -0700
committerMartin Odersky <odersky@gmail.com>2015-08-05 13:31:58 -0700
commit3f46a7506454f01f1b3d79b60d1b48845bde8d4a (patch)
tree9bb820d191a57ec1a7aca9ff9ab50638ac217d61 /test
parent2a306ddcfe78589310d462bbf67fb893ce8702aa (diff)
downloaddotty-3f46a7506454f01f1b3d79b60d1b48845bde8d4a.tar.gz
dotty-3f46a7506454f01f1b3d79b60d1b48845bde8d4a.tar.bz2
dotty-3f46a7506454f01f1b3d79b60d1b48845bde8d4a.zip
Add LiftTry phase
Phase lifts tries that would be illegal because they execute on non-empty expression stacks.
Diffstat (limited to 'test')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index c5d93b861..3c0f883ce 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -115,7 +115,7 @@ class tests extends CompilerTest {
@Test def neg_zoo = compileFile(negDir, "zoo", xerrors = 12)
val negTailcallDir = negDir + "tailcall/"
- @Test def neg_tailcall_t1672b = compileFile(negTailcallDir, "t1672b", xerrors = 6)
+ @Test def neg_tailcall_t1672b = compileFile(negTailcallDir, "t1672b", xerrors = 5)
@Test def neg_tailcall_t3275 = compileFile(negTailcallDir, "t3275", xerrors = 1)
@Test def neg_tailcall_t6574 = compileFile(negTailcallDir, "t6574", xerrors = 2)
@Test def neg_tailcall = compileFile(negTailcallDir, "tailrec", xerrors = 7)