Replies: 2 comments 3 replies
-
Anonymous records are structural. Those two types are the same type. |
Beta Was this translation helpful? Give feedback.
0 replies
-
May I add: As far as I know, they are nominal, but inferred to be the same nominal type based on their structure, independent of the order of properties when creating an instance (at least in the same assembly). Since they are nominal, assembly boundaries could play a role here, which could mean that they might not(!) be inferred to be the same nominal type from different assemblies. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I have {|A:TA;B:TB} as an
obj
and I am casting this .NET object to {|B:TB;A:TA;|}, can I expect overheads from translating between different layout or is it smart enough to just give me the original thing
Beta Was this translation helpful? Give feedback.
All reactions