Details

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

      Description

      We should deprecate NotNull and corral its implementation in the compiler. Its implementation has been unfinished since 2.5.

        Activity

        Hide
        Paul Phillips added a comment -

        The implementation has always been behind a -Y option, and for 2.10.0 I labeled it in an even more threatening fashion:

          -Ynotnull                           Enable (experimental and incomplete) scala.NotNull.
        

        So as far as I'm concerned we should deprecate the empty scala.NotNull trait for 2.11.0 but we are within our rights to remove all of the implementation which underlies it immediately.

        Show
        Paul Phillips added a comment - The implementation has always been behind a -Y option, and for 2.10.0 I labeled it in an even more threatening fashion: -Ynotnull Enable (experimental and incomplete) scala.NotNull. So as far as I'm concerned we should deprecate the empty scala.NotNull trait for 2.11.0 but we are within our rights to remove all of the implementation which underlies it immediately.
        Hide
        Adriaan Moors added a comment -

        I was thinking the same thing.

        Show
        Adriaan Moors added a comment - I was thinking the same thing.
        Hide
        Paul Phillips added a comment -

        I did better than think it.

        Show
        Paul Phillips added a comment - I did better than think it.
        Hide
        Paul Phillips added a comment -

        https://github.com/scala/scala/pull/2244 in case that last comment was overly vague.

        Show
        Paul Phillips added a comment - https://github.com/scala/scala/pull/2244 in case that last comment was overly vague.

          People

          • Assignee:
            Adriaan Moors
            Reporter:
            Adriaan Moors
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development