Skip to content

Cyclic reference involving module class in Scala3 but compiles in Scala2 #12109

@scf37

Description

@scf37

Compiler version

3.0.0-RC1, 3.0.0-RC2

Minimized code

https://scastie.scala-lang.org/6NSAUSm4Qo2Y9NJbLQrxWw

Output

Cyclic reference involving module class JsonReaderDefaultValue$

Expectation

Successful compilation.

Does not reproduce when dependent code is copy-pasted to the same Scastie session.

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