fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Nullness - generated ToString() members should override object and return string WithoutNull

Open T-Gro opened this issue 1 year ago • 1 comments

  • 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 avatar Aug 15 '24 14:08 T-Gro

:heavy_exclamation_mark: Release notes required


:white_check_mark: 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

github-actions[bot] avatar Aug 15 '24 14:08 github-actions[bot]