Skip to content

Conversation

@edgarfgp
Copy link
Contributor

Description

Continuation of #18472

  • Unifies the SynExpr.LetOrUseBang(isUse =false) logic into a single case.

Checklist

  • Test cases added
  • Performance benchmarks added in case of performance changes
  • Release notes entry updated:

@edgarfgp edgarfgp added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Apr 16, 2025
@edgarfgp edgarfgp changed the title Consolidate SynExpr.LetOrUseBang(isUse=false) Consolidate SynExpr.LetOrUseBang(isUse=false) Apr 16, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Apr 16, 2025

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@edgarfgp edgarfgp marked this pull request as ready for review April 16, 2025 18:16
@edgarfgp edgarfgp requested a review from a team as a code owner April 16, 2025 18:16
@edgarfgp edgarfgp mentioned this pull request Apr 23, 2025
2 tasks
Copy link
Member

@T-Gro T-Gro left a comment

Choose a reason for hiding this comment

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

Why is there suddenly code added?
I expected more code deletions to match it up here, what am I missing?

@edgarfgp edgarfgp force-pushed the more-ce-logic-deduplication branch from 9f5c4a3 to 41e7872 Compare April 24, 2025 18:38
@edgarfgp
Copy link
Contributor Author

Why is there suddenly code added? I expected more code deletions to match it up here, what am I missing?

@T-Gro No you are right. I consolidated the two cases into one(active pattern). But I forgot to remove the duplicated code :).

@T-Gro T-Gro enabled auto-merge (squash) April 25, 2025 08:24
@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Apr 25, 2025
@T-Gro T-Gro merged commit 9b4a7ce into dotnet:main Apr 25, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in F# Compiler and Tooling Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants