From ac226f26d8f54c79c642ed88bc5c48916afeb61b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 4 Aug 2015 18:34:10 -0700 Subject: Implement non-local returns Non-local returns are now implemented. --- src/dotty/tools/dotc/Compiler.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dotty/tools/dotc/Compiler.scala') 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, -- cgit v1.2.3