Skip to content

Remove orphaned copy of a test file#19886

Merged
T-Gro merged 1 commit into
dotnet:mainfrom
majocha:cleanup-unused
Jun 3, 2026
Merged

Remove orphaned copy of a test file#19886
T-Gro merged 1 commit into
dotnet:mainfrom
majocha:cleanup-unused

Conversation

@majocha

@majocha majocha commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

SkipLocalsInit.fs file exists in two different folders and only one of the copies is actually included in the test project.

This confuses AI agents.

SkipLocalsInit.fs file exisits in two different folders and only one of the copies  is actually included in the project.
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

✅ No release notes required

@github-actions github-actions Bot added the AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files label Jun 2, 2026
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Jun 3, 2026
@T-Gro T-Gro merged commit 3f2ef65 into dotnet:main Jun 3, 2026
50 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Jun 3, 2026
T-Gro pushed a commit that referenced this pull request Jun 3, 2026
…changes

The previous optimizer change fired on ALL unused effectful let-bindings,
which was too broad and caused TailCall attribute test failures, EmittedIL
Desktop baseline mismatches, and other CI issues.

Narrow the condition to only fire when the bound variable has IsMemberThisVal,
which is the specific case from issue #13099 where state-machine lowering
drops a side-effectful receiver expression.

Also remove tests/FSharp.Compiler.ComponentTests/SkipLocalsInit.fs which was
deleted on main in PR #19886.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants