Array literals should be convertible to both dynamically-sized and statically-sized arrays
Open
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
Assessment
This issue has not been assessed yet.