Skip to content

Scala 2.11 / 2.12 classfile parser crashes on dotty-compiler_0.1-0.1.2-RC1.jar #2670

Closed
@lrytz

Description

@lrytz
$ scala11 -version
Scala code runner version 2.11.11 -- Copyright 2002-2017, LAMP/EPFL
$ scala11 -cp /Users/luc/.ivy2/cache/ch.epfl.lamp/dotty-compiler_0.1/jars/dotty-compiler_0.1-0.1.2-RC1.jar
Welcome to Scala 2.11.11 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_131).
Type in expressions for evaluation. Or try :help.

scala> error: error while loading package, class file '/Users/luc/.ivy2/cache/ch.epfl.lamp/dotty-compiler_0.1/jars/dotty-compiler_0.1-0.1.2-RC1.jar(scala/reflect/internal/pickling/package.class)' is broken
(class java.lang.ArrayIndexOutOfBoundsException/978)

It's either a bug in Scalac's classfile parser on in dotty's code gen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions