Skip to content

SI-7019 Fix crasher with private[this] extension methods#4096

Merged
retronym merged 1 commit intoscala:2.11.xfrom
retronym:ticket/7019
Nov 7, 2014
Merged

SI-7019 Fix crasher with private[this] extension methods#4096
retronym merged 1 commit intoscala:2.11.xfrom
retronym:ticket/7019

Conversation

@retronym
Copy link
Member

@retronym retronym commented Nov 6, 2014

When we move the body of value class methods to the corresponding
extension method, we typecheck a forward method that remains
in the class. In order to allow access, this commit weakens the
access of private[local] extension methods to private.

Review by @lrytz

@scala-jenkins scala-jenkins added this to the 2.11.5 milestone Nov 6, 2014
@lrytz
Copy link
Member

lrytz commented Nov 6, 2014

s/SI-7109/SI-7019/ ;-)

When we move the body of value class methods to the corresponding
extension method, we typecheck a forward method that remains
in the class. In order to allow access, this commit weakens the
access of `private[local]` extension methods to `private`.
@retronym retronym changed the title SI-7109 Fix crasher with private[this] extension methods SI-7019 Fix crasher with private[this] extension methods Nov 6, 2014
@retronym
Copy link
Member Author

retronym commented Nov 6, 2014

Permuted back into shape!

@lrytz
Copy link
Member

lrytz commented Nov 6, 2014

LGTM!

retronym added a commit that referenced this pull request Nov 7, 2014
SI-7019 Fix crasher with private[this] extension methods
@retronym retronym merged commit b1e6f57 into scala:2.11.x Nov 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants