Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise errors for a 0-length fixed array (e.g. int[0]) #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

axic
Copy link
Member

@axic axic commented Jul 20, 2016

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 82.972% when pulling 537a29c on patch/fix-size0-array-check into ab07ecf on master.

@holgerd77
Copy link
Member

Is this still actual? This also needs conflicts resolving.

@danjm
Copy link

danjm commented Jun 3, 2019

Did some research on this issue. As of ethereum/solidity#3386, the docs changed to indicate support for 0-length fixed arrays. However, reading the discussion on that pull request reveals that the question of whether is should be supported is unresolved.

An issue was opened to continue that discussion: ethereum/solidity#4069

I will weigh in on that once I investigate the claim that "empty statically-sized arrays... are needed in the definition of the encoding of dynamically-sized empty arrays"

I would say that this PR could remain open until that discussion is resolved.

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

Successfully merging this pull request may close these issues.

None yet

5 participants