You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was confused (again!) as well, but this is actually as specified. Here's another example of where this surprised: ktoso/akka@e7ffaeb
bar is private, so it won't be seen as a member of a subclass of Foo. It is however in scope due to the lexical nesting of the bar: String expression.
We should probably add this to the release notes...
The change does show up in a lot of places. So the new (implemented) semantics of private are that the name is actually totally passed over, rather than being a compile-time error? That does make more sense then the way it's been, I guess.