aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-08-04 18:34:10 -0700
committerMartin Odersky <odersky@gmail.com>2015-08-04 18:34:10 -0700
commitac226f26d8f54c79c642ed88bc5c48916afeb61b (patch)
treed6da7d399826b1652957e18504f10e64f41ae4d4 /src/dotty/tools/dotc/Compiler.scala
parent07e24e8640acf19a6bcedd1b68acbd7c8d8bf29b (diff)
downloaddotty-ac226f26d8f54c79c642ed88bc5c48916afeb61b.tar.gz
dotty-ac226f26d8f54c79c642ed88bc5c48916afeb61b.tar.bz2
dotty-ac226f26d8f54c79c642ed88bc5c48916afeb61b.zip
Implement non-local returns
Non-local returns are now implemented.
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 76cf10428..1742fb1b8 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -68,6 +68,7 @@ class Compiler {
new LazyVals,
new Memoize,
new LinkScala2ImplClasses,
+ new NonLocalReturns,
new CapturedVars, // capturedVars has a transformUnit: no phases should introduce local mutable vars here
new Constructors,
new FunctionalInterfaces,