Merge pull request #3431 from fulldecent/patch-7

Add mutability declaration to example, for #3379
This commit is contained in:
chriseth 2018-01-29 13:44:43 +01:00 committed by GitHub
commit bd3692f1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,12 +187,12 @@ Given the contract:
::
pragma solidity ^0.4.0;
pragma solidity ^0.4.16;
contract Foo {
function bar(bytes3[2] xy) public {}
function baz(uint32 x, bool y) public returns (bool r) { r = x > 32 || y; }
function sam(bytes name, bool z, uint[] data) public {}
function bar(bytes3[2]) public pure {}
function baz(uint32 x, bool y) public pure returns (bool r) { r = x > 32 || y; }
function sam(bytes, bool, uint[]) public pure {}
}