mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
enforce interface-functions to be external-declared
- libsolidity: Enforce interface-functions must be external-declared. - Changelog adapted to reflect changes wrt. functions in interfaces. - test: Adjustments according to prior interface-function changes. - tests: Adapting SolidityEndToEndTest to interface-function change. - docs: Adapted documentation to interface-function change.
This commit is contained in:
@@ -11649,7 +11649,7 @@ BOOST_AUTO_TEST_CASE(interface_contract)
|
||||
char const* sourceCode = R"(
|
||||
interface I {
|
||||
event A();
|
||||
function f() public returns (bool);
|
||||
function f() external returns (bool);
|
||||
function() external payable;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user