x# 107 - Overriding Changes Function Overriding Changes: The overriding function may only change the visibility of the overridden function from external to public.
The mutability may be changed to a more strict one following the order:
nonpayable
can be overridden byview
andpure
.view
can be overridden bypure
.payable
is an exception and cannot be changed to any other mutability.
- Function Overriding virtual -> override
- Visibility: external -> public
- non payable -> view/pure
- view -> pure
- payable X -> Any