mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
stop reporting unused ability members
This commit is contained in:
parent
53c8dee4ed
commit
a0d688bfb7
2 changed files with 0 additions and 54 deletions
|
@ -452,7 +452,6 @@ pub(crate) fn canonicalize_defs<'a>(
|
|||
&mut output,
|
||||
var_store,
|
||||
&mut scope,
|
||||
&mut symbols_introduced,
|
||||
abilities,
|
||||
&abilities_in_scope,
|
||||
pattern_type,
|
||||
|
@ -554,7 +553,6 @@ fn resolve_abilities<'a>(
|
|||
output: &mut Output,
|
||||
var_store: &mut VarStore,
|
||||
scope: &mut Scope,
|
||||
symbols_introduced: &mut MutMap<Symbol, Region>,
|
||||
abilities: MutMap<Symbol, (Loc<Symbol>, &[AbilityMember])>,
|
||||
abilities_in_scope: &[Symbol],
|
||||
pattern_type: PatternType,
|
||||
|
@ -598,8 +596,6 @@ fn resolve_abilities<'a>(
|
|||
}
|
||||
};
|
||||
|
||||
symbols_introduced.insert(member_sym, name_region);
|
||||
|
||||
if pattern_type == PatternType::TopLevelDef {
|
||||
env.top_level_symbols.insert(member_sym);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue