-
Notifications
You must be signed in to change notification settings - Fork 71
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
Util.Table broken for anonymous records #233
Comments
Questions I still have:
|
It's not a .NET Core issue. I'd be tempted to just initialise as a seq or convert to that: [ {|id=5; name = "hello"|} ] |> Seq.ofList |> Util.Table but improving compatibility seems like a good idea too. |
To confirm the implicit conversion works for explict records: IfSharp/src/IfSharp.Kernel/Util.fs Lines 86 to 100 in 5a415a7
|
Yes this is what was confusing me about this. The conversion to a seq first works for me though. |
Description
This seems to more be an F# bug related to a unification error with F# anonymous record types (possibly a dotnet restriction?).
Repro steps
Expected behavior
Table output
Actual behavior
Error message:
Known workarounds
Define it within a module:
Then call:
Related information
The text was updated successfully, but these errors were encountered: