Skip to content

Compiler: add support for slices#465

Open
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:slices
Open

Compiler: add support for slices#465
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:slices

Conversation

@chqrlie
Copy link
Contributor

@chqrlie chqrlie commented Mar 16, 2026

  • slice syntax is a[start?:count?] or a[start?:count?:step]
  • designated array initializers accept a range index
  • array initialisation checker updated for designated ranges
  • bit selections are mutated during analysis as BitSelectionExpr

* slice syntax is a[start?:count?] or a[start?:count?:step]
* designated array initializers accept a range index
* array initialisation checker updated for designated ranges
* bit selections are mutated during analysis as `BitSelectionExpr`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant