warp icon indicating copy to clipboard operation
warp copied to clipboard

dynamic arrays

Open piwonskp opened this issue 2 years ago • 0 comments

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 avatar Apr 07 '23 17:04 piwonskp