mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Add ClosureCallOptions enum to describe how to switch calling lambda
This commit is contained in:
parent
8d01e81aa7
commit
fc4979e2ce
13 changed files with 1104 additions and 858 deletions
|
@ -1,15 +1,17 @@
|
|||
procedure Test.1 (Test.5):
|
||||
let Test.2 : I64 = 42i64;
|
||||
let Test.3 : {I64} = Struct {Test.2};
|
||||
let Test.3 : I64 = StructAtIndex 0 Test.13;
|
||||
let Test.13 : {I64} = Struct {Test.2};
|
||||
ret Test.3;
|
||||
|
||||
procedure Test.3 (Test.9, #Attr.12):
|
||||
let Test.2 : I64 = StructAtIndex 0 #Attr.12;
|
||||
let Test.2 : I64 = StructAtIndex 0 Test.12;
|
||||
let Test.12 : {I64} = Struct {#Attr.12};
|
||||
ret Test.2;
|
||||
|
||||
procedure Test.0 ():
|
||||
let Test.8 : {} = Struct {};
|
||||
let Test.4 : {I64} = CallByName Test.1 Test.8;
|
||||
let Test.4 : I64 = CallByName Test.1 Test.8;
|
||||
let Test.7 : {} = Struct {};
|
||||
let Test.6 : I64 = CallByName Test.3 Test.7 Test.4;
|
||||
ret Test.6;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue