Properly print 'None' for option types from FSI [6690744]
Submitted by TeaDrivenDev _ on 11/9/2014 12:00:00 AM
18 votes on UserVoice prior to migration
FSI output properly handles 'Some x', but often prints 'None' as 'null', apparently when the value is part of a larger type.
let x : uint16 option = None
correctly results in:
val x : uint16 option = None
while
let y : string * uint16 option = "", None
instead prints:
val y : string * uint16 option = ("", null)
Response
** by fslang-admin on 2/5/2016 12:00:00 AM **
This should certainly be fixed, as much as possible
Don Syme, F# Language Evolution
Original UserVoice Submission
Archived Uservoice Comments
Properly print 'None' for option types from FSI [6690744]
Submitted by TeaDrivenDev _ on 11/9/2014 12:00:00 AM
18 votes on UserVoice prior to migration
FSI output properly handles 'Some x', but often prints 'None' as 'null', apparently when the value is part of a larger type.
correctly results in:
while
instead prints:
Response
** by fslang-admin on 2/5/2016 12:00:00 AM **
This should certainly be fixed, as much as possible
Don Syme, F# Language Evolution
Original UserVoice Submission
Archived Uservoice Comments