Any typed container crosses into dyn as a view
This commit is contained in:
parent
c3d36b5108
commit
85283c2e87
5
TODO.org
5
TODO.org
@ -18,6 +18,11 @@ builders return =String=; =(Vec u8)= stays for raw bytes. Text is UTF-8 everywhe
|
|||||||
a character is a code point; dyn gets a character tag, so \\I prints as \\I.
|
a character is a code point; dyn gets a character tag, so \\I prints as \\I.
|
||||||
Waits on the dyn-unless-annotated design.
|
Waits on the dyn-unless-annotated design.
|
||||||
|
|
||||||
|
** NEXT Any typed container crosses into dyn as a view
|
||||||
|
Decided 2026-09-25: every element type (all numbers, chars, structs, nested arrays)
|
||||||
|
and any storage; a dev build checks a view against its frame or allocation and traps
|
||||||
|
when stale, a release build does not. Waits on the dyn-unless-annotated design.
|
||||||
|
|
||||||
** NEXT Dyn unless annotated
|
** NEXT Dyn unless annotated
|
||||||
Decided 2026-09-25: in both syntaxes an unannotated value is dyn — [6 2 4 9] is a dyn
|
Decided 2026-09-25: in both syntaxes an unannotated value is dyn — [6 2 4 9] is a dyn
|
||||||
vector, 1 a dyn integer — and a typed value needs an annotation. Rules and migration
|
vector, 1 a dyn integer — and a typed value needs an annotation. Rules and migration
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user