mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Weaken top-level mutually recursive let bindings as appropriate
This commit is contained in:
parent
a77f04cd19
commit
95dae5036a
1 changed files with 1 additions and 3 deletions
|
@ -3896,9 +3896,7 @@ fn rec_defs_help(
|
|||
let generalizable = defs
|
||||
.iter()
|
||||
.all(|d| is_generalizable_expr(&d.loc_expr.value));
|
||||
// TODO(weakening)
|
||||
#[allow(clippy::logic_bug)]
|
||||
Generalizable(generalizable || true)
|
||||
Generalizable(generalizable)
|
||||
};
|
||||
|
||||
for def in defs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue