mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix parenthesis error in § "Semantic and Syntactic Changes" of v0.5.0 Breaking Changes
This commit is contained in:
parent
a788ba14f3
commit
dc29888601
@ -63,7 +63,7 @@ This section highlights changes that affect syntax and semantics.
|
||||
last one only works for value types). Change every ``keccak256(a, b, c)`` to
|
||||
``keccak256(abi.encodePacked(a, b, c))``. Even though it is not a breaking
|
||||
change, it is suggested that developers change
|
||||
``x.call(bytes4(keccak256("f(uint256)"), a, b)`` to
|
||||
``x.call(bytes4(keccak256("f(uint256)")), a, b)`` to
|
||||
``x.call(abi.encodeWithSignature("f(uint256)", a, b))``.
|
||||
|
||||
* Functions ``.call()``, ``.delegatecall()`` and ``.staticcall()`` now return
|
||||
|
Loading…
Reference in New Issue
Block a user