Repository navigation
v2 resolve/infer: payload-binder facts and untyped lambda arguments (re-derives N7) - #13698
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-derives N7 on current main (not a rebase of #13558 / #13623, which are history only), plus rule A' and the empty-fold check.
What changed (src/v2/compiler)
LexicalBinderStanding: Declared / Valued / OwedFormal / Untyped); the resolve-time refusalresolve_reason_pattern_payload_formal_uninstantiatedis gone.List<T>=FreeMonoid<T>), instantiating the field type itself.callee_unreadable, also on main); match arms were compared without alias normalization; coproduct reading did not unfold the scrutinee alias.Decisions (recorded in
recurring_failure_mode/payload_binder_refused_at_resolve_instead_of_owed_to_infer)Empty/[], so no List lock; the carrier stays not-derived. ResidualCons { tail: acc }refusal is a declared red, next trigger: carrier typed from the fold's declared result.Receipts (claim_batch on a seed built from this head): infer_payload_binder_test 11/11, variant_field_infer_probe 13/13, parameter_reference 14/14, binder_admission pair 2+9, infer_fold_member_instance 6/6, caller_admission_native_wall 9/9. Instruments run in my container (srv1 ssh denied; no systemd-run there either, container cap is 24 GiB):
gunbc test //gunbc/instruments:self-hostexit 0,//gunbc/instruments:v2-native-cliexit 0.🤖 Generated with Claude Code