mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
rename joinpoint field
This commit is contained in:
parent
19db7515da
commit
b622202d97
9 changed files with 30 additions and 29 deletions
|
@ -64,7 +64,7 @@ pub fn occurring_variables(stmt: &Stmt<'_>) -> (MutSet<Symbol>, MutSet<Symbol>)
|
|||
|
||||
Join {
|
||||
parameters,
|
||||
continuation,
|
||||
body: continuation,
|
||||
remainder,
|
||||
..
|
||||
} => {
|
||||
|
@ -978,7 +978,7 @@ impl<'a> Context<'a> {
|
|||
id: j,
|
||||
parameters: _,
|
||||
remainder: b,
|
||||
continuation: v,
|
||||
body: v,
|
||||
} => {
|
||||
// get the parameters with borrow signature
|
||||
let xs = self.param_map.get_join_point(*j);
|
||||
|
@ -1000,7 +1000,7 @@ impl<'a> Context<'a> {
|
|||
id: *j,
|
||||
parameters: xs,
|
||||
remainder: b,
|
||||
continuation: v,
|
||||
body: v,
|
||||
}),
|
||||
b_live_vars,
|
||||
)
|
||||
|
@ -1143,7 +1143,7 @@ pub fn collect_stmt(
|
|||
id: j,
|
||||
parameters,
|
||||
remainder: b,
|
||||
continuation: v,
|
||||
body: v,
|
||||
} => {
|
||||
let mut j_live_vars = collect_stmt(v, jp_live_vars, MutSet::default());
|
||||
for param in parameters.iter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue