hotfix: cyclic functions hoisted as a dependency used the wrong key to modify its own cyclic_calls
This commit is contained in:
parent
82ceb5b696
commit
add513790d
|
@ -3236,7 +3236,7 @@ impl<'a> CodeGenerator<'a> {
|
|||
let mut functions = functions.clone();
|
||||
|
||||
for (_, body) in functions.iter_mut() {
|
||||
modify_cyclic_calls(body, key, &self.cyclic_functions);
|
||||
modify_cyclic_calls(body, &dep_key, &self.cyclic_functions);
|
||||
}
|
||||
|
||||
dep_insertions.push(AirTree::define_cyclic_func(
|
||||
|
|
Loading…
Reference in New Issue