Skip to content

Incorrect state machine compilation in debug #20466

Description

@majocha

Please provide a succinct description of the issue.

Repro steps

  1. Clone https://github.com/fsprojects/FSharp.Control.TaskSeq
  2. just run smoke tests in VS test explorer or:
    edit sdk pin in global.json to "10.0.400"
    dotnet test -c Debug .\src\FSharp.Control.TaskSeq.SmokeTests\
    builds fine, runs fine, taskSeq produces wrong values and tests fail.

This is particularly nasty, because it builds and runs, just the execution is wrong.

Tests pass up to sdk 10.0.204, fail for 10.0.400 and 11 preview.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Compiler-CodeGenIlxGen, ilwrite and things at the backendArea-ComputationExpressionsEnd-to-end experience for computation expressions (except async and state machine compilation)BugRegression

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions