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:
@@ -1,5 +1,4 @@
|
||||
interface Interface {
|
||||
function f() public;
|
||||
function f() external;
|
||||
}
|
||||
// ----
|
||||
// Warning: (23-43): Functions in interfaces should be declared external.
|
||||
|
||||
Reference in New Issue
Block a user