Merge pull request #2750 from rtfeldman/delay-instantiating-aliases-fix-limitations

Delay instantiating aliases fix limitations
This commit is contained in:
hafiz 2022-03-19 20:41:14 -04:00 committed by GitHub
commit 3f07afe3b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 291 additions and 102 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