summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/SubComponent.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/SubComponent.scala')
-rw-r--r--src/compiler/scala/tools/nsc/SubComponent.scala3
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