mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6edfdff187
There is an approprate warning for the function call.
10 lines
352 B
Solidity
10 lines
352 B
Solidity
pragma experimental SMTChecker;
|
|
contract C {
|
|
function f(bytes calldata data) external pure returns (bytes memory) {
|
|
return abi.encode(bytes(data[:32]));
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 2923: (143-152): Assertion checker does not yet implement this expression.
|
|
// Warning 4588: (126-154): Assertion checker does not yet implement this type of function call.
|