This rule is deprecated
Function order is incorrect.
This rule accepts a string option of rule severity. Must be one of “error”, “warn”, “off”. Default to warn.
{
"rules": {
"func-order": "warn"
}
}
pragma solidity 0.4.4;
contract A {
constructor() public {}
function () public payable {}
}
pragma solidity 0.4.4;
contract A {
function () public payable {}
constructor() public {}
}
This rule was introduced in Solhint 2.0.0-alpha.0