Skip to content
Discussion options

You must be logged in to vote

It seems like this warning is specific to structs since it more frequently interacts with issues of field layout in memory. We do give this warning with record structs. SharpLab.

I think it's probably fine to explicitly say in the spec that an implementation-defined ordering is used when determining the order in which to call printable members in ToString for record classes and record structs, for example. But it doesn't seem worthy of a warning to me.

cc @jcouv for visibility.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcouv
Comment options

jcouv Jul 24, 2021
Collaborator

Answer selected by ufcpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants