From 324eeff963585af9248885473beeabfe8770ed68 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 15 Mar 2010 17:08:16 +0000 Subject: 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. --- src/compiler/scala/tools/nsc/PhaseAssembly.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/PhaseAssembly.scala') 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 -- cgit v1.2.3