argotorg / argotorg/solidity

Array literals should be convertible to both dynamically-sized and statically-sized arrays

Open
#11,879 28 comments 14 reactions 1 assignee Claimed by @wechman View on GitHub
annoys users :cry: high effort high impact language design :rage4: selected for development
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
2d 19h
Merged PRs (30d)
29

Description

We could implement this using a new type for array literals and the codegen could store the elements in memory while reserving a memory slot for the length (and just not use it for the static case).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.