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

Turn implementation restriction for SI-5954 from 2.10.x into a warning

    Details

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

      Description

      The implementation restriction created from SI-5954 has two problems. 1) The problematic code works fine if compile with sbt. That means the restriction is breaking some people needlessly. 2) It's not binary compatible. The implementation restriction needs to be turned into a warning and the setting to get around the restriction needs to be removed.

        Issue Links

          Activity

          Show
          James Iry added a comment - https://github.com/scala/scala/pull/2079
          Hide
          Adriaan Moors added a comment -

          in principle we don't introduce new warnings/errors/different type inference/different implicit resolution in minor releases, but I feel there's a case to be made here of how broken package objects are that we should warn

          Show
          Adriaan Moors added a comment - in principle we don't introduce new warnings/errors/different type inference/different implicit resolution in minor releases, but I feel there's a case to be made here of how broken package objects are that we should warn

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development