Aladdin - Scala Bugtracking
[#639] project: compiler priority: high category: bug
submitter assigned to status date submitted
Stephane Martin fixed 2006-06-23 11:10:27.0
subject NullPointerException in typechecker
code
import a._
[B]
class C
what happened
test.scala:1 error: not found: value a
import a._
       ^
Exception in thread "main" java.lang.NullPointerException
        at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:1379)
        at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:1693)
        at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:1719)
        at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$46.apply(Typers.scala:995)
        at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$46.apply(Typers.scala:985)
        at scala.List$.loop$0(List.scala:232)
        [..]
what expected no crash
[back to overview]
Changes of this bug report
Martin  edited on  2006-06-27 17:33:58.0