mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-28 17:03:44 +00:00

There might be more symbols than field layouts when restructuring a record if the record is a newtype. Closes #4759
13 lines
381 B
Text
13 lines
381 B
Text
procedure Test.1 (Test.2):
|
|
dec Test.2;
|
|
let Test.7 : Str = "ux";
|
|
let Test.8 : Str = "uy";
|
|
let Test.6 : {Str, Str} = Struct {Test.7, Test.8};
|
|
ret Test.6;
|
|
|
|
procedure Test.0 ():
|
|
let Test.10 : Str = "x";
|
|
let Test.11 : Str = "y";
|
|
let Test.9 : {Str, Str} = Struct {Test.10, Test.11};
|
|
let Test.3 : {Str, Str} = CallByName Test.1 Test.9;
|
|
ret Test.3;
|