warp icon indicating copy to clipboard operation
warp copied to clipboard

Structs

Open piwonskp opened this issue 2 years ago • 0 comments

The code should transpile:

pragma solidity ^0.8.6;

contract WARP {
    struct S {
        uint8 a;
        uint256 b;
    }

    function createManual() pure public {
        S memory s = S(2,5);
    }
}

piwonskp avatar Apr 07 '23 17:04 piwonskp