Aladdin - Scala Bugtracking
[#270] project: interpreter priority: low category: bug
submitter assigned to status date submitted
Erik Philippe fixed 2004-01-07 16:48:52.0
subject Interpreter crashes on import
code
> import scala.collection.Map
what happened
Exception in thread "main" scalac.ApplicationError: illegal case: 
        at scalac.util.Debug.abort(Debug.java:58)
        at scalac.checkers.TreeChecker.expression(TreeChecker.java:326)
        at scalac.checkers.TreeChecker.vapply(TreeChecker.java:351)
        at scalac.checkers.TreeChecker.expression(TreeChecker.java:284)
        at scalac.checkers.TreeChecker.statement(TreeChecker.java:207)
        at scalac.checkers.TreeChecker.expression(TreeChecker.java:241)
        at scalac.checkers.TreeChecker.member(TreeChecker.java:176)
        at scalac.checkers.TreeChecker.member(TreeChecker.java:143)
        at scalac.checkers.TreeChecker.template(TreeChecker.java:111)
        at scalac.checkers.TreeChecker.template(TreeChecker.java:91)
        at scalac.checkers.TreeChecker.check(TreeChecker.java:81)
        at scalac.transformer.MakeBoxingExplicitPhase.apply(MakeBoxingExplicitPhase.java:46)
        at scalac.Global.compile(Global.java:306)
        at scalac.Global.compile(Global.java:292)
        at scala.tools.scalai.Interpreter.interpret(Interpreter.java:68)
        at scala.tools.scalai.InterpreterShell.eval(InterpreterShell.java:241)
        at scala.tools.scalai.InterpreterShell.handle(InterpreterShell.java:111)
        at scala.tools.scalai.InterpreterShell.loop(InterpreterShell.java:103)
        at scala.tools.scalai.InterpreterShell.main(InterpreterShell.java:96)
        at scala.tools.scalai.Main.main(Main.java:34)
what expected Success or at least a nice error message that imports are not supported (or possibly that scala.collection.Map does not excist).
[back to overview]
Changes of this bug report
Burak  edited on  2004-01-13 16:08:44.0
(changed project to interpreter)
Philippe  edited on  2004-03-24 12:37:15.0

The crash has been fixed, but the import still doesn't work.

Gilles  edited on  2006-03-27 17:45:59.0
Fixed in Scala2