Skip to content

Fix exceptions handling in task dynamic invocation#360

Merged
TheAngryByrd merged 1 commit intodemystifyfp:masterfrom
auduchinok:dynamic
Apr 21, 2026
Merged

Fix exceptions handling in task dynamic invocation#360
TheAngryByrd merged 1 commit intodemystifyfp:masterfrom
auduchinok:dynamic

Conversation

@auduchinok
Copy link
Copy Markdown
Contributor

Fixes task handling when dynamic invocations are used.

The context is I'm working on dotnet/fsharp#19548 which improves debugging experience by preventing inlining where possible and allowing stepping into inline functions and setting breakpoints there. This makes the compiler produce the dynamic invocations instead of the state machines, and this uncovered exceptions in FsToolkit.ErrorHandling tests.

Copy link
Copy Markdown
Collaborator

@TheAngryByrd TheAngryByrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@TheAngryByrd TheAngryByrd merged commit a934868 into demystifyfp:master Apr 21, 2026
26 checks passed
@auduchinok auduchinok deleted the dynamic branch April 21, 2026 13:14
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.

2 participants