Closed Kelimion closed 4 months ago
The caller should really not pass foo: ^string = nil. A for ch, in foo would also crash, so let's not introduce new semantics for iteration.
foo: ^string = nil
for ch, in foo
A caller shouldn't pass garbage if they can help it, and a nil ^string is not a useful ZII usage here.
nil
The caller should really not pass
foo: ^string = nil
. Afor ch, in foo
would also crash, so let's not introduce new semantics for iteration.A caller shouldn't pass garbage if they can help it, and a
nil
^string is not a useful ZII usage here.