aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-04-30 09:34:19 +0200
committerMartin Odersky <odersky@gmail.com>2015-05-02 19:07:38 +0200
commit5cd90e5afd73c6f8354d0d3687fb2ee3a9f413e7 (patch)
tree4e69c2beb3a34efd9ff41e2234073ba440f1b855 /src/dotty/tools/dotc/Compiler.scala
parente2c23bd56ef739682699384cf1956b62b75c1ae0 (diff)
downloaddotty-5cd90e5afd73c6f8354d0d3687fb2ee3a9f413e7.tar.gz
dotty-5cd90e5afd73c6f8354d0d3687fb2ee3a9f413e7.tar.bz2
dotty-5cd90e5afd73c6f8354d0d3687fb2ee3a9f413e7.zip
New miniphase: ExpandSAMs
The phase replaces SAM closures with anonymous classes when necessary.
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 44e7ac450..a9aa65201 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -45,6 +45,7 @@ class Compiler {
new ElimRepeated,
new NormalizeFlags,
new ExtensionMethods,
+ new ExpandSAMs,
new TailRec),
List(new PatternMatcher,
new ExplicitOuter,