Skip to content

Commit

Permalink
Always re-populate type aliases
Browse files Browse the repository at this point in the history
These could be the only references to enums
  • Loading branch information
muglug committed Jul 25, 2024
1 parent d903176 commit c5d37b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/file_scanner_analyzer/populator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub fn populate_codebase(
&codebase.symbols,
&ReferenceSource::Symbol(true, *name),
symbol_references,
type_alias.user_defined && !safe_symbols.contains(name),
type_alias.user_defined,
);

if let Some(ref mut as_type) = type_alias.as_type {
Expand All @@ -169,7 +169,7 @@ pub fn populate_codebase(
&codebase.symbols,
&ReferenceSource::Symbol(true, *name),
symbol_references,
type_alias.user_defined && !safe_symbols.contains(name),
type_alias.user_defined,
);
}
}
Expand Down

0 comments on commit c5d37b7

Please sign in to comment.