fix Issue 15897 - private base class method not seen through derived class#5727
fix Issue 15897 - private base class method not seen through derived class#5727AndrejMitrovic merged 1 commit intodlang:stablefrom
Conversation
MartinNowak
commented
May 3, 2016
- properly deprecate private symbol visibility through derived classes
|
|
Looks like you need an update |
I rather wait for https://github.com/dlang/dmd/pull/5651/files#diff-00b32f1ed7ba16d50e1e619c297ff277L1315 to remove the nonsense message. |
|
Rebased |
…class - properly deprecate private symbol visibility through derived classes
|
Fixed |
|
Auto-merge toggled on |
|
This change will break existing valid code, without legitimate design decision. If someone (@WalterBright and @andralex ?) get approved the new design, it should be documented in changelog and language spec. I'll repopen the original bugzilla issue. |
|
Hmm.. the change seemed logical to me at first. Think it needs to go through a DIP? We could revert until we agree on something. |
|
I also think the concept talked by @MartinNowak is logical. But I think a logical behavior is not always useful. |
|
This just turns an error into deprecation. We could discuss the change though. #5736 (comment) |