diff options
author | James Iry <james.iry@typesafe.com> | 2013-07-22 16:51:46 -0700 |
---|---|---|
committer | James Iry <james.iry@typesafe.com> | 2013-11-01 15:30:23 -0700 |
commit | 9136e76ca1a9827e1a8c90fa4f7f63c2967cb019 (patch) | |
tree | f3d64a237d8240a5f5ac98254664f196da192230 /src/repl | |
parent | 0057d4d83cb40116b76296505f15075002e4b2e0 (diff) | |
download | scala-9136e76ca1a9827e1a8c90fa4f7f63c2967cb019.tar.gz scala-9136e76ca1a9827e1a8c90fa4f7f63c2967cb019.tar.bz2 scala-9136e76ca1a9827e1a8c90fa4f7f63c2967cb019.zip |
Add a skeletal Delambdafy phase.
This commit adds a do-nothing phase called "Delambdafy" that will
eventually be responsible for doing the final translation of lambdas
into classes.
Diffstat (limited to 'src/repl')
-rw-r--r-- | src/repl/scala/tools/nsc/interpreter/Phased.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repl/scala/tools/nsc/interpreter/Phased.scala b/src/repl/scala/tools/nsc/interpreter/Phased.scala index f625124e70..1cdbd65949 100644 --- a/src/repl/scala/tools/nsc/interpreter/Phased.scala +++ b/src/repl/scala/tools/nsc/interpreter/Phased.scala @@ -91,7 +91,7 @@ trait Phased { Parser, Namer, Packageobjects, Typer, Superaccessors, Pickler, Refchecks, Selectiveanf, Liftcode, Selectivecps, Uncurry, Tailcalls, Specialize, Explicitouter, Erasure, Lazyvals, Lambdalift, Constructors, Flatten, Mixin, - Cleanup, Icode, Inliner, Closelim, Dce, Jvm, Terminal + Cleanup, Delambdafy, Icode, Inliner, Closelim, Dce, Jvm, Terminal ) lazy val nameMap = all.map(x => x.name -> x).toMap withDefaultValue NoPhaseName multi = all @@ -127,6 +127,7 @@ trait Phased { case object Flatten extends PhaseName case object Mixin extends PhaseName case object Cleanup extends PhaseName + case object Delambdafy extends PhaseName case object Icode extends PhaseName case object Inliner extends PhaseName case object Closelim extends PhaseName |