Skip to content

Add seq literal and for-arrow sequence lowering coverage#19685

Closed
rodrigovidal wants to merge 1 commit intodotnet:mainfrom
rodrigovidal:agent/31-sequence-literals-yield
Closed

Add seq literal and for-arrow sequence lowering coverage#19685
rodrigovidal wants to merge 1 commit intodotnet:mainfrom
rodrigovidal:agent/31-sequence-literals-yield

Conversation

@rodrigovidal
Copy link
Copy Markdown

Summary

  • add explicit sequence-expression coverage for seq { 1; 2; 3 } and seq { for x in xs -> x * 2 } in SequenceExpressions01.fs
  • add a new emitted-IL regression (SeqExpressionSteppingTest08) that exercises both forms
  • capture IL baselines proving lowering uses generated IEnumerable state machines (GeneratedSequenceBase)

Issue Context

Parse seq { 1; 2; 3 } and seq { for x in xs -> x*2 }. Must lower to a state machine implementing IEnumerable.

Closes #31

Co-authored-by: multica-agent <github@multica.ai>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

✅ No release notes required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Internal error FS0073: Undefined or unsolved type variable: 'TRange when compile in Release mode

1 participant