mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
parent
3540a048d8
commit
7520dfee06
3 changed files with 14 additions and 12 deletions
|
@ -1061,7 +1061,10 @@ impl<'a> Call<'a> {
|
|||
.text("CallByPointer ")
|
||||
.append(alloc.intersperse(it, " "))
|
||||
}
|
||||
LowLevel { op: lowlevel, .. } => {
|
||||
LowLevel {
|
||||
op: lowlevel,
|
||||
opt_closure_layout: _,
|
||||
} => {
|
||||
let it = arguments.iter().map(|s| symbol_to_doc(alloc, *s));
|
||||
|
||||
alloc
|
||||
|
@ -2665,9 +2668,7 @@ macro_rules! match_on_closure_argument {
|
|||
lambda_set,
|
||||
$closure_data_symbol,
|
||||
|top_level_function, closure_data, function_layout| self::Call {
|
||||
call_type: CallType::LowLevel {
|
||||
op: $op, opt_closure_layout: Some(function_layout),
|
||||
},
|
||||
call_type: CallType::LowLevel { op: $op, opt_closure_layout: Some(function_layout) },
|
||||
arguments: arena.alloc([$($x,)* top_level_function, closure_data]),
|
||||
},
|
||||
arena.alloc(top_level).full(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue