summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/PhaseAssembly.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-03-15 17:08:16 +0000
committerPaul Phillips <paulp@improving.org>2010-03-15 17:08:16 +0000
commit324eeff963585af9248885473beeabfe8770ed68 (patch)
treea285bf23dbc64ce559f37884cba3f915618c2e1a /src/compiler/scala/tools/nsc/PhaseAssembly.scala
parent1dbc0d0fc13dd8e28598d3e4e1970c2d69861af2 (diff)
downloadscala-324eeff963585af9248885473beeabfe8770ed68.tar.gz
scala-324eeff963585af9248885473beeabfe8770ed68.tar.bz2
scala-324eeff963585af9248885473beeabfe8770ed68.zip
Tracked down docs.lib build issue from the dent...
Tracked down docs.lib build issue from the dentist's chair while waiting for my teeth to numb. Checking in over open wireless access point. This is dedication. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/PhaseAssembly.scala')
-rw-r--r--src/compiler/scala/tools/nsc/PhaseAssembly.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/PhaseAssembly.scala b/src/compiler/scala/tools/nsc/PhaseAssembly.scala
index dabf9547fe..fb90b004ff 100644
--- a/src/compiler/scala/tools/nsc/PhaseAssembly.scala
+++ b/src/compiler/scala/tools/nsc/PhaseAssembly.scala
@@ -97,7 +97,7 @@ trait PhaseAssembly { self: Global =>
* names are sorted alphabetical at each level, into the compiler phase list
*/
def compilerPhaseList(): List[SubComponent] =
- nodes.values.toList sortBy (x => (x.level, x.phasename)) flatMap (_.phaseobj) flatten
+ nodes.values.toList filter (_.level > 0) sortBy (x => (x.level, x.phasename)) flatMap (_.phaseobj) flatten
/* Test if there are cycles in the graph, assign levels to the nodes
* and collapse hard links into nodes