fsharp
fsharp copied to clipboard
Detect `open type` use correctly for enums
Description
Fixes #17619.
- Consider
open typeused when the type is an enum and any of the enum cases is used unqualified.
Checklist
- [x] Test cases added.
- [x] Release notes entry updated.
:heavy_exclamation_mark: Release notes required
:white_check_mark: Found changes and release notes in following paths:
Change path Release notes path Description src/Compilerdocs/release-notes/.FSharp.Compiler.Service/9.0.100.md