mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
205 B
Solidity
9 lines
205 B
Solidity
|
contract c {
|
||
|
bytes public b;
|
||
|
function f() public {
|
||
|
b = msg.data[:];
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (63-74): Type bytes calldata slice is not implicitly convertible to expected type bytes storage ref.
|