0mkara / etheratom

Solidity compilation and Ethereum contract execution interface for hackable atom editor
https://atom.io/packages/etheratom
GNU General Public License v3.0
252 stars 41 forks source link

Doesn't take inputs of multidimensionsl 2D or 3D array in functions. #288

Closed sjana0 closed 4 years ago

sjana0 commented 4 years ago

Describe the bug Tried to input multidimensional 2D and 3D array into functions but it shows missing argumentin coder array

To Reproduce Steps to reproduce the behavior:

function setFixedSized(uint[3][3] memory inputArr) public {
        fixedSized = inputArr;
    }
function setThreeDArr(uint[3][3][3] memory inputArr) public {
        threeDArr = inputArr;
    }

and give the 2D array input as [1,2,3],[4,5,6],[7,8,9] and 3D array input as

[[1,2,3], [4,5,6], [7,8,9]],
[[10,11,12], [13,14,15], [16,17,18]],
[[19,20,21], [22,23,24], [25,26,27]]

Expected behavior It should accept the array input without any errors.

Screenshots image image

Desktop (please complete the following information):