Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

bug(compiler): unable to parse arrays as inputs or outputs #28

Closed
exp-table opened this issue May 30, 2022 · 1 comment
Closed

bug(compiler): unable to parse arrays as inputs or outputs #28

exp-table opened this issue May 30, 2022 · 1 comment

Comments

@exp-table
Copy link
Collaborator

The compiler cannot parse functions of the interface if they either use arrays for inputs or outputs.

The error probably lies in the regex definitions here.
They do not account for [].

To recreate the issue, try to compile any file with the following functions

#define function set(uint256,uint256[]) nonpayable returns ()
#define function get(uint256) view returns (uint256[])
@sudovirtual
Copy link
Member

fix here: #32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants