ERR/E5.1: verify generic failable composition (sub-feature 8); resolve 0062, file 0064

Generic value-carrying failable composition works with the documented
$T: Type generic form (catch / destructure / failure-propagation / a
second monomorphization at a different T). Issue 0062 was an invalid-repro
report — it used the non-generic T: type form, which is a plain Type-valued
param, not a generic type parameter. Marked 0062 resolved (not a bug).

The only real residual: a non-$ T: Type function param used as a type
silently resolves to an empty {} (renders T{}) instead of erroring. Filed
as 0064 (deferred, orthogonal to ERR — the $T idiom works).

Regression: 1044-errors-generic-failable-composition.sx.
This commit is contained in:
agra
2026-06-01 22:35:02 +03:00
parent 547148b8b6
commit 1c14383495
6 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
catch=7
destr=9 ok=true
fail=-1
u8=200