mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
259 B
Solidity
10 lines
259 B
Solidity
pragma experimental "v0.5.0";
|
|
contract C {
|
|
function k() pure public returns (bytes) {
|
|
return abi.encodePacked(1);
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// TypeError: (122-123): Cannot perform packed encoding for a literal. Please convert it to an explicit type first.
|