Skip to content

Conversation

@brianrourkeboll
Copy link
Contributor

@brianrourkeboll brianrourkeboll commented Aug 28, 2024

Description

Fixes #17619.

  • Consider open type used when the type is an enum and any of the enum cases is used unqualified.

Checklist

  • Test cases added.
  • Release notes entry updated.

* Consider `open type` used when the type is an enum and any of
  the enum cases is used unqualified.
@github-actions
Copy link
Contributor

github-actions bot commented Aug 28, 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/9.0.100.md

@brianrourkeboll brianrourkeboll marked this pull request as ready for review August 28, 2024 19:05
@brianrourkeboll brianrourkeboll requested a review from a team as a code owner August 28, 2024 19:05
@brianrourkeboll brianrourkeboll marked this pull request as draft August 28, 2024 19:13
@brianrourkeboll brianrourkeboll marked this pull request as ready for review August 28, 2024 19:22
Copy link
Contributor

@psfinaki psfinaki left a comment

Choose a reason for hiding this comment

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

Thanks for a quick fix, that was annoying indeed.

Copy link
Member

@vzarytovskii vzarytovskii left a comment

Choose a reason for hiding this comment

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

Nice

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.

open type T when T is an enum is treated as unused even when it's used

4 participants