spec: spell the AIR array type array<T, N>

';' starts a comment in text AIR, so [T; N] cannot be parsed. Recorded
as an erratum in RFC 0005; source syntax may keep [T; N].
This commit is contained in:
dev committed 2026-10-04 13:11:07 +03:00
1 parent 48bb50724f
commit be9dd0e1ed
7 files changed
+20 -19

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ Non-normative. Part of the [implementation plan](README.md).
## Scope
In: `local<T>`, `ref<T>`, `mut<T>`, `[T; N]`, `slice<T>`, `slice_mut<T>`; `local.alloc/store/zero/load`, `borrow.ref/mut/field/end`, `load`, `store`, `array.splat`, `borrow.index[.proven]`, `slice.make/len/sub/split/copy`, `guard`; `from` returns; multi-result syntax; feature gating (`feature_not_declared`).
In: `local<T>`, `ref<T>`, `mut<T>`, `array<T, N>`, `slice<T>`, `slice_mut<T>`; `local.alloc/store/zero/load`, `borrow.ref/mut/field/end`, `load`, `store`, `array.splat`, `borrow.index[.proven]`, `slice.make/len/sub/split/copy`, `guard`; `from` returns; multi-result syntax; feature gating (`feature_not_declared`).
Out: heap, regions, move-only values, borrow-typed block parameters (`borrow_joins`).