mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
rename joinpoint field
This commit is contained in:
parent
19db7515da
commit
b622202d97
9 changed files with 30 additions and 29 deletions
|
@ -956,7 +956,7 @@ pub fn optimize_when<'a>(
|
|||
stmt = Stmt::Join {
|
||||
id,
|
||||
parameters: &[],
|
||||
continuation: env.arena.alloc(body),
|
||||
body: env.arena.alloc(body),
|
||||
remainder: env.arena.alloc(stmt),
|
||||
};
|
||||
}
|
||||
|
@ -1329,7 +1329,7 @@ fn compile_guard<'a>(
|
|||
id,
|
||||
parameters: arena.alloc([param]),
|
||||
remainder: stmt,
|
||||
continuation: arena.alloc(cond),
|
||||
body: arena.alloc(cond),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1622,7 +1622,7 @@ fn decide_to_branching<'a>(
|
|||
Stmt::Join {
|
||||
id: fail_jp_id,
|
||||
parameters: &[],
|
||||
continuation: fail,
|
||||
body: fail,
|
||||
remainder: arena.alloc(test_stmt),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue