Skip to content

Reusing a compiler instance with -Yinline causes an inconsistent state #6782

@scabug

Description

@scabug

If the REPL or fsc is used with -Yinline then we end up in a state where two symbols represent the same thing and the second version isn't initialized where it's expected. This is the root cause for the linked bugs which have more discussion on the subject.

Undoing the fix for #SI-5789 creates a simple reproducer. The test associated with that fix will cause an assertion in Mixin.scala.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions