docs: close issue 0171 as not-a-bug (wrong casing: any vs Any)
The type-erased value type is spelled Any (capital), per specs.md and type_resolver.zig. Lowercase 'any' is an undefined name that resolves to an empty-struct stub, which is why ?any appeared to silently discard the value. ?Any round-trips correctly (present/absent/unwrap all work), so there is no Any-TypeId canonicalization bug. Reword the 0165 cross-ref accordingly.
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
> Genuine nested optionals via alias (`Opt :: ?i64; ?Opt`) work and round-trip.
|
||||
> Regressions: `examples/optionals/0911-nested-optional-via-alias.sx`,
|
||||
> `examples/diagnostics/1195-diagnostics-err-parenthesized-optional-tuple.sx`.
|
||||
> Verified by 3 adversarial reviews. (Adjacent pre-existing bug found + filed:
|
||||
> 0171 `?any` child not canonicalized.)
|
||||
> Verified by 3 adversarial reviews. (A review noted `?any` over-rejection;
|
||||
> that turned out to be a casing non-bug — lowercase `any` is an undefined name,
|
||||
> the type is `Any`; see 0171, closed NOT-A-BUG.)
|
||||
|
||||
## Symptom
|
||||
|
||||
|
||||
Reference in New Issue
Block a user