Scala Programming Language
  1. Scala Programming Language
  2. SI-6782

Reusing a compiler instance with -Yinline causes an inconsistent state

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Backlog
    • Component/s: Repl / Interpreter
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              James Iry
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development