Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Structs #1027

Open
piwonskp opened this issue Apr 7, 2023 · 0 comments
Open

Structs #1027

piwonskp opened this issue Apr 7, 2023 · 0 comments
Assignees
Milestone

Comments

@piwonskp
Copy link
Contributor

piwonskp commented Apr 7, 2023

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 piwonskp added this to the Cairo 1.0 milestone Apr 7, 2023
@rjnrohit rjnrohit self-assigned this Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants