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

Unable to use array inputs #284

Closed sjana0 closed 4 years ago

sjana0 commented 4 years ago

Describe the bug Tried to pass an array as constructor parameter for

constructor(int[12] memory testArray) public
    {
        Manufacturer = msg.sender;
        testResponseArray = testArray;
        Total = 0;
    }

To Reproduce Steps to reproduce the behavior:

  1. compile the contract
  2. pass array [1,2,3] as arrayInput to constructor
  3. Click on Deploy
  4. See error

Expected behavior Should accept array inputs as [1,2,3]

Screenshots Screenshot from 2019-10-11 18-14-41

Desktop (please complete the following information):