Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discriminated Unions does not print properly in F# #1365

Open
kant2002 opened this issue Jul 27, 2021 · 1 comment
Open

Discriminated Unions does not print properly in F# #1365

kant2002 opened this issue Jul 27, 2021 · 1 comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation

Comments

@kant2002
Copy link
Contributor

type NestedName = NestedName of string

[<EntryPoint>]
let main argv =
    let bb = NestedName "SS"
    printfn "%O" bb
    0 // return an integer exit code

CoreCLR

NestedName "SS"

NativeAOT

NestedName
@MichalStrehovsky MichalStrehovsky added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Jul 27, 2021
@charlesroddie
Copy link

This issue should be resolvable on the F# side:
fsharp/fslang-suggestions#919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation
Projects
None yet
Development

No branches or pull requests

3 participants