diff options
author | Martin Odersky <odersky@gmail.com> | 2008-02-06 13:55:18 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-02-06 13:55:18 +0000 |
commit | 1021800b39ed89c2269bd3722aa4522d038c5c19 (patch) | |
tree | 6018fd0e88e7d05629b8f73c1c3298782275d92a /src/compiler/scala/tools/nsc/SubComponent.scala | |
parent | df55a8175a90180194c61f91592a5e34b0bcf2e5 (diff) | |
download | scala-1021800b39ed89c2269bd3722aa4522d038c5c19.tar.gz scala-1021800b39ed89c2269bd3722aa4522d038c5c19.tar.bz2 scala-1021800b39ed89c2269bd3722aa4522d038c5c19.zip |
added reverse to RichString.
fixed immediate problem in #409.
we ignore now flag MONOMOPRHIC.
Diffstat (limited to 'src/compiler/scala/tools/nsc/SubComponent.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/SubComponent.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/SubComponent.scala b/src/compiler/scala/tools/nsc/SubComponent.scala index f3868e91ff..e683e7072d 100644 --- a/src/compiler/scala/tools/nsc/SubComponent.scala +++ b/src/compiler/scala/tools/nsc/SubComponent.scala @@ -24,6 +24,9 @@ abstract class SubComponent { /** The phase factory */ def newPhase(prev: Phase): Phase + /** The phase defined by this subcomponent. Can be called only after phase is installed by newPhase. */ +// lazy val ownPhase: Phase = global.currentRun.phaseNamed(phaseName) + /** A standard phase template */ abstract class StdPhase(prev: Phase) extends global.GlobalPhase(prev) { def name = phaseName |