You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solc outputs something like this for a setter that takes one integer argument,
case 0x60fe47b1
{
// set(uint256)
if callvalue() { revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() }
let param_0 := abi_decode_tuple_t_uint256(4, calldatasize())
fun_set_13(param_0)
let memPos := allocate_unbounded()
let memEnd := abi_encode_tuple__to__fromStack(memPos )
return(memPos, sub(memEnd, memPos))
which pulls the argument from the stack. it's not clear to me how to do this when the first argument is the added implicit this argument that allows us to allocate into memory. from the outside there may not even be an instance of the object created, and in general actually won't be, so what would you even try to pass there?
this should allow us to have a linked-list example working; after #371
The text was updated successfully, but these errors were encountered: