diff options
author | Martin Odersky <odersky@gmail.com> | 2015-04-30 09:34:19 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-05-02 19:07:38 +0200 |
commit | 5cd90e5afd73c6f8354d0d3687fb2ee3a9f413e7 (patch) | |
tree | 4e69c2beb3a34efd9ff41e2234073ba440f1b855 /src/dotty/tools/dotc/Compiler.scala | |
parent | e2c23bd56ef739682699384cf1956b62b75c1ae0 (diff) | |
download | dotty-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.scala | 1 |
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, |