mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Remove stale comment
This commit is contained in:
parent
947808bbb3
commit
0f6f34983f
1 changed files with 0 additions and 7 deletions
|
@ -1411,13 +1411,6 @@ fn canonicalize_closure_body<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
// // Discount the def name from the referenced arguments as well. This catches recursive
|
||||
// // functions that only reference themselves.
|
||||
// // Note that this will not catch mutually recursive functions whose reference closure is the
|
||||
// // recursive closure. Doing so requires us to know what defs are in a cycle, which is only
|
||||
// // calculated after enumeration of references.
|
||||
// output.references.remove_value_lookup(&symbol);
|
||||
|
||||
// store the references of this function in the Env. This information is used
|
||||
// when we canonicalize a surrounding def (if it exists)
|
||||
env.closures.insert(symbol, output.references.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue