mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Fix infinite loop
This commit is contained in:
parent
5ec512a0e7
commit
b97c94c2da
3 changed files with 22 additions and 17 deletions
|
@ -244,7 +244,7 @@ pub fn build(
|
|||
// Add all the Proc headers to the module.
|
||||
// We have to do this in a separate pass first,
|
||||
// because their bodies may reference each other.
|
||||
for (symbol, layout, proc) in specializations.drain(..) {
|
||||
for ((symbol, layout), proc) in specializations.drain() {
|
||||
let (fn_val, arg_basic_types) =
|
||||
build_proc_header(&env, &mut layout_ids, symbol, &layout, &proc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue