Skip to content

Fix generic async state-machine field tokens - #2761

Merged
DavidObando merged 1 commit into
mainfrom
fix/2749-generalized-async-emitter
Jul 22, 2026
Merged

Fix generic async state-machine field tokens#2761
DavidObando merged 1 commit into
mainfrom
fix/2749-generalized-async-emitter

Conversation

@DavidObando

Copy link
Copy Markdown
Owner

Fixes #2749

Summary

  • route hoisted closure captures through the canonical generic state-machine field-token resolver
  • preserve non-generic, method-generic, combined, and nested-generic async emission
  • add strict ILVerify/runtime coverage for awaits and hoisted type-parameter locals

Validation

  • targeted issue matrix: 6/6 passed
  • Core.Tests: 6,691 passed, 1 skipped
  • Compiler.Tests: 3,407 passed
  • rebuilt Oahu.Core: DownloadDecryptJob ILVerify findings reduced from 35 to 0

Deferred

Oahu.Core still reports two unrelated BookLibrary.AddPersons generic-interface findings; ILVerify also ends with its existing verifier IndexOutOfRangeException.

@DavidObando
DavidObando merged commit eaf53a3 into main Jul 22, 2026
10 checks passed
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.

gsc: generic-class async state machine emits mismatched generic byref identities

1 participant