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

SubstSymMap has side-effect on annotation argument trees

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.10.1
    • Component/s: None

      Description

      https://github.com/scala/scala/commit/a06d31f6a2df021acc18b10ad9cad0f80d7498f2#L0R4709

      I introduced a side-effect in the SubstSym type map, it modifies symbols of trees (i.e. annotation arguments).
      This has bad consequences (e.g calling "tpe1 <: tpe2" can modify the symbols in annotations of tpe2).

        Activity

        Show
        Lukas Rytz added a comment - https://github.com/scala/scala/pull/2092

          People

          • Assignee:
            Lukas Rytz
            Reporter:
            Lukas Rytz
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development