Skip to content

Conversation

@brianrourkeboll
Copy link
Contributor

@brianrourkeboll brianrourkeboll commented Mar 25, 2024

Description

Followup to #16650 and #16832.

  • Use count = 0 instead of count < 1. The count < 1 check was a vestige of an older approach for computing the count and isn't needed.

Checklist

  • Test cases added.
  • Release notes entry updated.

* The count < 1 check was a vestige of an older approach for computing
  the count that could result in a negative count.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 25, 2024

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/8.0.300.md

@brianrourkeboll brianrourkeboll marked this pull request as ready for review March 26, 2024 00:30
@brianrourkeboll brianrourkeboll requested a review from a team as a code owner March 26, 2024 00:30
@psfinaki
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@abonie abonie merged commit 71442c8 into dotnet:main Apr 4, 2024
@brianrourkeboll brianrourkeboll deleted the computed-collections-simple-count-check branch April 5, 2024 14:59
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.

3 participants