Skip to content

Commit

Permalink
Merge pull request #3431 from fulldecent/patch-7
Browse files Browse the repository at this point in the history
Add mutability declaration to example, for #3379
  • Loading branch information
chriseth authored Jan 29, 2018
2 parents a668b9d + 1cc31ba commit bd3692f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/abi-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
}


Expand Down

0 comments on commit bd3692f

Please sign in to comment.