Skip to content

fix(codegen): infer terminal map UDF returns#74

Merged
luisleo526 merged 1 commit into
mainfrom
fix/ki48g-map-terminal-returns
Jul 17, 2026
Merged

fix(codegen): infer terminal map UDF returns#74
luisleo526 merged 1 commit into
mainfrom
fix/ki48g-map-terminal-returns

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Summary

  • infer direct terminal map UDF returns for void, collection, and string-valued methods
  • support functional, global, local, typed-parameter, and call-site-inferred parameter forms
  • preserve ordinary keyword/arbitrary-receiver routing, invalid-source behavior, nonterminal output, and shared map runtime semantics

Validation

  • focused pinned-engine matrix: 9 passed
  • full pinned-engine suite: 1717 passed, 2 skipped
  • Pyodide gate: 277/277 parity
  • 666-source manifest: byte-identical to baseline, 660 OK and the same 6 errors
  • adversarial residual parity: 15/15 baseline-identical
  • N=2 hidden-factor matrix: no base-pass to candidate-fail cell

Follow-up

A pre-existing cross-function raw-name TypeSpec collision remains isolated for the next campaign lane; it is not introduced by this patch.

@luisleo526
luisleo526 merged commit 9e7e6b3 into main Jul 17, 2026
9 checks passed
@luisleo526
luisleo526 deleted the fix/ki48g-map-terminal-returns branch July 17, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant