Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FSI pretty print of values shows the same text for records and anonymous records #6116

@cartermp

Description

@cartermp

The following code:

type Phillip = { Name: string; Age: int}
let p = { Name="Phillip"; Age=28}
let ap = {| Name="Phillip"; Age=28 |}

Prints values in FSI that are identical:

image

The types are pretty-printed correctly as you would expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-FSIBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    No fields configured for Bug.

    Projects

    Status
    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions