blob: 0fc1fc08745a3a963fc69cb13454e692ac838ede (
plain) (
blame)
1
2
3
4
5
6
7
8
|
contract C {
function k() pure public returns (bytes memory) {
return abi.encodePacked(1);
}
}
// ----
// TypeError: (99-100): Cannot perform packed encoding for a literal. Please convert it to an explicit type first.
|