You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
list_map_conversion regression only pins a legacy parser error instead of testing template conversion #1490
The migrated tests/check/list_map_conversion.bend fixture should check a template lambda used inside a theorem type and run a reachable mapped-value consumer. Its header explicitly says the old Bend3 = equation should become Bend ==; the current fixture never reaches that property.
Current main evidence
On main 2343aec (Bun 1.3.13, Linux x64), running bun bend2/main.ts tests/check/list_map_conversion.bend --verdict exits 1 before elaboration:
The theorem still uses {... = 2n : Nat} and its fill {=}. It also uses old-style template applications without ~, and omits LL.length's explicit erased type argument. Instead of detecting this migration gap, its expected #| lines pin that exact parser failure. Its main then returns the literal 2n, so simply fixing syntax without changing reachability would still not exercise mapped values in emitted code.
This reports an ineffective regression, not a newly demonstrated compiler defect. No matching open PR/report for list_map_conversion was found.
Acceptance
Use current equality/reflexivity and explicit template/type-argument syntax.
The type-level mapped-list conversion theorem is accepted by the real source checker and proof kernel.
main consumes actual mapped values so source, emitted JS and native C detect a dropped or incorrect callback rather than print a disconnected literal.
Remove the old diagnostic-wording expectation; do not re-pin an exception or a source location.
Do not change the checker, protected gates, allow list or caps.
Activity