mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4500 from ethereum/v050-interface-functions-must-be-external
[BREAKING] interface functions must be external
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