Unifies behavior for member access of ABI functions.

This commit is contained in:
Erik Kundt
2019-04-29 14:27:10 +02:00
parent 1eeca84cad
commit 381ed5a302
3 changed files with 19 additions and 1 deletions
@@ -1,6 +1,9 @@
contract C {
function f() public pure {
abi.encode;
abi.encodePacked;
abi.encodeWithSelector;
abi.encodeWithSignature;
abi.decode;
}
}
@@ -0,0 +1,15 @@
contract C {
function f() public pure {
abi.encode;
abi.encodePacked;
abi.encodeWithSelector;
abi.encodeWithSignature;
abi.decode;
}
}
// ----
// Warning: (52-62): Statement has no effect.
// Warning: (72-88): Statement has no effect.
// Warning: (98-120): Statement has no effect.
// Warning: (130-153): Statement has no effect.
// Warning: (163-173): Statement has no effect.