Aladdin - Scala Bugtracking
[#1255] project: compiler priority: low category: bug
submitter assigned to status date submitted
Iulian Lex fixed 2007-08-06 15:11:56.0
subject scalac -Xshow-phases broken
code
scalac -Xshow-phases
what happened
Exception in thread "main" java.lang.AssertionError: assertion failed
        at scala.Predef$.assert(Predef.scala:91)
        at scala.tools.nsc.symtab.Symbols$TypeHistory.(Symbols.scala:1449)
        at scala.tools.nsc.symtab.Symbols$Symbol.setInfo(Symbols.scala:480)
        at scala.tools.nsc.symtab.Symbols$TypeSymbol.setInfo(Symbols.scala:1258)
        at scala.tools.nsc.symtab.Definitions$definitions$.RootClass(Definitions.scala:25)
        at scala.tools.nsc.typechecker.Contexts$class.$init$(Contexts.scala:31)
        at scala.tools.nsc.Global$analyzer$.(Global.scala:274)
        at scala.tools.nsc.Global.analyzer(Global.scala:274)
        at scala.tools.nsc.Global.builtInPhaseDe5cr1p7-haX0Rors(Global.scala:392)
        at scala.tools.nsc.plugins.Plugins$class.computePhaseDe5cr1p7-haX0Rors(Plugins.scala:152)
        at scala.tools.nsc.Global.computePhaseDe5cr1p7-haX0Rors(Global.scala:35)
        at scala.tools.nsc.Global.phaseDe5cr1p7-haX0Rors(Global.scala:423)
        at scala.tools.nsc.Global.phaseDe5cr1p7-haX0Rions(Global.scala:430)
        at scala.tools.nsc.Main$.process(Main.scala:77)
        at scala.tools.nsc.Main$.main(Main.scala:107)
        at scala.tools.nsc.Main.main(Main.scala)
what expected phases names and descriptions. I am not sure when this thing broke, and I am not sure whom to assign it. I try with Gilles first, since he reorganized the command line options. :-) I think the assertion fails because there's no 'Run' created before the root symbol is typed, but that does not explain why it worked before.
[back to overview]
Changes of this bug report
Lex  edited on  2007-08-06 16:18:24.0
Your diagnosis sounds correct, Iulian. I'll look into it.
Lex  edited on  2007-08-06 23:36:13.0