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

dynamic arrays #1026

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

dynamic arrays #1026

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

Comments

@piwonskp
Copy link
Contributor

piwonskp commented Apr 7, 2023

The code should compile:

pragma solidity ^0.8.6;

//SPDX-License-Identifier: MIT

contract WARP {
    function uint8new() pure public {
        uint8[] memory x = new uint8[](2);
    }
}
@piwonskp piwonskp added this to the Cairo 1.0 milestone Apr 7, 2023
@rjnrohit rjnrohit self-assigned this Apr 10, 2023
@AlejandroLabourdette AlejandroLabourdette self-assigned this Apr 17, 2023
@rjnrohit rjnrohit changed the title Dynamic arrays Memory dynamic arrays May 9, 2023
@rjnrohit rjnrohit changed the title Memory dynamic arrays dynamic arrays May 9, 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

3 participants