Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI-6162 Adds private[scala] @deprecatedInheritance/@deprecatedOverriding #1284

Merged
merged 4 commits into from Sep 11, 2012

Commits on Sep 10, 2012

  1. SI-6162 Adds @deprecatedInheritance/@deprecatedOverriding

    These annotations are meant to warn from inheriting a class or
    from overriding a member, due to the reasons given in `msg`.
    
    The naming and placement of the methods is in line with
    @deprecated and @deprecatedName.
    soc authored and retronym committed Sep 10, 2012
    Copy the full SHA
    e3b0c7a View commit details
    Browse the repository at this point in the history
  2. 1
    Copy the full SHA
    c78fe02 View commit details
    Browse the repository at this point in the history
  3. Rescues @deprecated{Inheritance, Overriding}

    While they ought to be generalized to aribirary modifier
    changes before being offered in the standard library, the
    opportunity to use them in 2.10 is too important to pass up.
    
    So for now, they're private[scala].
    
    En route:
    
     - made the error messages more concise
     - fix positioning of inheritance error
     - improve test coverage
    retronym committed Sep 10, 2012
    Copy the full SHA
    028de5d View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2012

  1. Pull request feedback

    retronym committed Sep 11, 2012
    Copy the full SHA
    3ee719a View commit details
    Browse the repository at this point in the history