mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
Formatting
This commit is contained in:
parent
db362f6df0
commit
173ba925ff
@ -86,13 +86,13 @@ mod test_gen {
|
||||
// Declare all the Procs, then insert them into scope so their bodies
|
||||
// can look up their Funcs in scope later when calling each other by value.
|
||||
for (name, opt_proc) in procs.as_map().into_iter() {
|
||||
if let Some(proc) = opt_proc {
|
||||
let (func_id, sig) = declare_proc(&env, &mut module, name, &proc);
|
||||
if let Some(proc) = opt_proc {
|
||||
let (func_id, sig) = declare_proc(&env, &mut module, name, &proc);
|
||||
|
||||
declared.push((proc.clone(), sig.clone(), func_id));
|
||||
declared.push((proc.clone(), sig.clone(), func_id));
|
||||
|
||||
scope.insert(name.clone(), ScopeEntry::Func { func_id, sig });
|
||||
}
|
||||
scope.insert(name.clone(), ScopeEntry::Func { func_id, sig });
|
||||
}
|
||||
}
|
||||
|
||||
for (proc, sig, fn_id) in declared {
|
||||
|
Loading…
Reference in New Issue
Block a user