get rid of unneeded field on SolvedModule

This commit is contained in:
Folkert 2022-03-12 14:00:51 +01:00
parent c64f768abe
commit d9c3a7ddd9
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 5 additions and 10 deletions

View file

@ -9,12 +9,11 @@ use roc_types::types::Alias;
#[derive(Debug)]
pub struct SolvedModule {
pub aliases: MutMap<Symbol, Alias>,
pub problems: Vec<solve::TypeError>,
/// All exposed symbols. Annoyingly, this does not differentiate beteen
/// types and values
pub exposed_symbols: Vec<Symbol>,
/// 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>,
/// Used when the goal phase is TypeChecking, and
/// to create the types for HostExposed. This