diff options
author | Paul Phillips <paulp@improving.org> | 2009-08-22 18:48:25 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-08-22 18:48:25 +0000 |
commit | 22608da738a56936d185d71e447b0fd274a8f454 (patch) | |
tree | f4a7150918d31f0b162eae932954ff4bed7fba86 /src/compiler/scala/tools/nsc/PhaseAssembly.scala | |
parent | 72a7124873ad8227cc4185b95012f7a83da30a5d (diff) | |
download | scala-22608da738a56936d185d71e447b0fd274a8f454.tar.gz scala-22608da738a56936d185d71e447b0fd274a8f454.tar.bz2 scala-22608da738a56936d185d71e447b0fd274a8f454.zip |
Deprecation patrol.
Diffstat (limited to 'src/compiler/scala/tools/nsc/PhaseAssembly.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/PhaseAssembly.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/PhaseAssembly.scala b/src/compiler/scala/tools/nsc/PhaseAssembly.scala index f2abe0ca21..0679990a9b 100644 --- a/src/compiler/scala/tools/nsc/PhaseAssembly.scala +++ b/src/compiler/scala/tools/nsc/PhaseAssembly.scala @@ -170,7 +170,7 @@ trait PhaseAssembly { self: Global => if (sanity.length == 0) { throw new FatalError("There is no runs right after dependency, where there should be one! This is not supposed to happen!") } else if (sanity.length > 1) { - var msg = "Multiple phases want to run right after the phase " + sanity.first.to.phasename + "\n" + var msg = "Multiple phases want to run right after the phase " + sanity.head.to.phasename + "\n" msg += "Phases: " sanity = sanity.sort((e1,e2) => (e1.frm.phasename compareTo e2.frm.phasename) < 0) for (edge <- sanity) { @@ -308,7 +308,7 @@ trait PhaseAssembly { self: Global => sbuf.append("digraph G {\n") for (edge <- graph.edges) { sbuf.append("\"" + edge.frm.allPhaseNames + "(" + edge.frm.level + ")" + "\"->\"" + edge.to.allPhaseNames + "(" + edge.to.level + ")" + "\"") - if (! edge.frm.phaseobj.get.first.internal) { + if (! edge.frm.phaseobj.get.head.internal) { extnodes += edge.frm } edge.frm.phaseobj match { case None => null case Some(ln) => if(ln.size > 1) fatnodes += edge.frm } |