Skip to content

Conversation

@T-Gro
Copy link
Member

@T-Gro T-Gro commented Aug 15, 2024

  • Overriding .ToString on an F# type will warn if it returns nullable string
  • Calling .ToString on F# types with generated ToString (powered by sprintfn %A under the hood) is typechecked as not returning null

@T-Gro T-Gro linked an issue Aug 15, 2024 that may be closed by this pull request
7 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Aug 15, 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

@T-Gro T-Gro marked this pull request as ready for review August 22, 2024 12:17
@T-Gro T-Gro requested a review from a team as a code owner August 22, 2024 12:17
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.

Pseudo method type is not my favourite, but it's easy to understand.

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.

Nullness issue - Compiler-generated member overrides should change nullness

4 participants