Eliminate Items::use_aliases
#5912
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
Aliased imports, e.g.
are currently represented using two maps:
Items::use_synonyms
, which mapsb
to the declaration ofb
in modulea
.Items::use_aliases
, which mapsa
to the nameb
.There really is no reason two have both maps, since the name
b
is not in scope when using an aliased import.The text was updated successfully, but these errors were encountered: