Skip to content

Problems in erasure #789

Closed
Closed
@DarkDimius

Description

@DarkDimius

./out/dotty/tools/dotc/core/Phases.class

    default public Object atPhase(Phase phase, Function1 op) {
        return this.atPhase((Phase)BoxesRunTime.boxToInteger((int)phase.id()), op);
    }

is obviously going to fail with java.lang.Integer cannot be cast to dotty.tools.dotc.core.Phases$Phase.

Unfortunatelly, running dotty with isDerivedValueClass set to false does not work, so this blocks bootstrap.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions