mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
rename
This commit is contained in:
parent
141f88365d
commit
45567a591c
1 changed files with 2 additions and 2 deletions
|
@ -799,7 +799,7 @@ impl DefIds {
|
|||
)
|
||||
}
|
||||
|
||||
fn calls_itself(&self, id: u32) -> bool {
|
||||
fn is_self_recursive(&self, id: u32) -> bool {
|
||||
debug_assert!(id < self.length);
|
||||
|
||||
// id'th row, id'th column
|
||||
|
@ -1548,7 +1548,7 @@ fn group_to_declaration_improved(
|
|||
*recursive = closure_recursivity(symbol, closures);
|
||||
}
|
||||
|
||||
let is_recursive = def_ids.calls_itself(def_id);
|
||||
let is_recursive = def_ids.is_self_recursive(def_id);
|
||||
|
||||
if !seen_pattern_regions.contains(&new_def.loc_pattern.region) {
|
||||
seen_pattern_regions.push(new_def.loc_pattern.region);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue