There shouldn't be Warning: The interface method raises the visibility of "..." to public ...
Original Reporter info from Mantis: VitaliyG
-
Reporter name:
Original Reporter info from Mantis: VitaliyG
- Reporter name:
Description:
Warning: The interface method "..." raises the visibility of "..." to public when accessed via an interface instance
is generated when object implements interface with private or protected visibility method.
Why is this needed, I think this is correct way (implement interface in protected section) to enforce using object in correct way (through interface and disallow direct interface method calls on object) - so there shouldn't be even hints like this. Or if there is some reason for this warning - then add compiler switch to disable it (I guess there is a lot of code that implements interfaces this way).
Mantis conversion info:
- Mantis ID: 22046
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 21329 (#958600e7)
- Monitored by: » @michaliskambi (Michalis Kamburelis)