FSharpValue.GetUnionFields
returns empty array for non-first cases of struct unions with shared fields
#18121
Labels
Area-Compiler-CodeGen
IlxGen, ilwrite and things at the backend
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Regression
Milestone
In F# 9,
FSharpValue.GetUnionFields
only returns fields for the first case of struct unions with shared fields.Repro: Repro.zip
Expected behavior
Actual behavior
Known workarounds
I don't know of any, though to be fair I haven't looked for any either.
The text was updated successfully, but these errors were encountered: