You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@thestinger tuple structs are translated as enums, which leads to some ugly IR. I can pull up examples when I have time later in the week if they'd be useful.
Now that we inline enum constructors I think we're golden. My complaints before (but poorly expressed) were that struct fields were getting translated into the proper place but enums were going through calls. Codegen looks good now.
Right now tuple structs generate code very similar to/identical to enums. afaict no reason for this.
The text was updated successfully, but these errors were encountered: