Details
Description
The following example from the documentation did not work, an erroneously reported an issue (and was removed):
class Base { public: void f(); }; class Derived : public Base { public: void f() final { // final Base::f(); } };
We should handle this case, and update the RSPEC:
Changing the visibility of the function in the derived class or making it final
Attachments
Issue Links
- relates to
-
RSPEC-1185 Overriding methods should do more than simply call the same method in the super class
- Active