aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
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 /src/dotty/tools/dotc/Compiler.scala
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 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 1742fb1b8..f753b7614 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -48,6 +48,7 @@ class Compiler {
new ExtensionMethods,
new ExpandSAMs,
new TailRec,
+ new LiftTry,
new ClassOf),
List(new PatternMatcher,
new ExplicitOuter,