contract A { function f() external {} function g() external pure {} } contract B { function h() external { function() external f = A.f; function() external pure g = A.g; } } // ---- // TypeError 9574: (128-155): Type function A.f() is not implicitly convertible to expected type function () external. // TypeError 9574: (165-197): Type function A.g() pure is not implicitly convertible to expected type function () pure external.