track if an alias is exposed

This commit is contained in:
Folkert 2022-03-19 17:10:29 +01:00
parent 62ca9ba8d0
commit 55d9dc745c
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 24 additions and 9 deletions

View file

@ -13,7 +13,7 @@ pub struct SolvedModule {
/// all aliases and their definitions. this has to include non-exposed aliases
/// because exposed aliases can depend on non-exposed ones)
pub aliases: MutMap<Symbol, Alias>,
pub aliases: MutMap<Symbol, (bool, Alias)>,
/// Used when the goal phase is TypeChecking, and
/// to create the types for HostExposed. This