aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-20 13:50:52 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-20 13:50:52 +0200
commitbacc9f0272b4e95467e8558e174b4ffc8e907e28 (patch)
tree37b5c1f47d2d170e320ef02d5b326a14d4a42d91 /src/dotty/tools/dotc/Compiler.scala
parent6dfeaa26c93e8110a54c6e2f6ebf6480dfc74257 (diff)
downloaddotty-bacc9f0272b4e95467e8558e174b4ffc8e907e28.tar.gz
dotty-bacc9f0272b4e95467e8558e174b4ffc8e907e28.tar.bz2
dotty-bacc9f0272b4e95467e8558e174b4ffc8e907e28.zip
New phase: FunctionalInterfaces.
Rewires closures to implement more specific types of Function SAMs.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 25a4c578b..5f8ca5f95 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -61,7 +61,8 @@ class Compiler {
List(new Mixin,
new Memoize,
new CapturedVars,
- new Constructors),
+ new Constructors,
+ new FunctionalInterfaces),
List(new LambdaLift,
new Flatten,
new RestoreScopes),