mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
more comments
This commit is contained in:
parent
b78e63ae19
commit
c64f768abe
1 changed files with 12 additions and 2 deletions
|
@ -10,9 +10,19 @@ use roc_types::types::Alias;
|
|||
#[derive(Debug)]
|
||||
pub struct SolvedModule {
|
||||
pub aliases: MutMap<Symbol, Alias>,
|
||||
pub exposed_symbols: Vec<Symbol>,
|
||||
pub exposed_vars_by_symbol: Vec<(Symbol, Variable)>,
|
||||
pub problems: Vec<solve::TypeError>,
|
||||
|
||||
/// All exposed symbols. Annoyingly, this does not differentiate beteen
|
||||
/// types and values
|
||||
pub exposed_symbols: Vec<Symbol>,
|
||||
|
||||
/// Used when the goal phase is TypeChecking, and
|
||||
/// to create the types for HostExposed. This
|
||||
/// has some overlap with the StorageSubs fields,
|
||||
/// so maybe we can get rid of this at some point
|
||||
pub exposed_vars_by_symbol: Vec<(Symbol, Variable)>,
|
||||
|
||||
/// Used when importing this module into another module
|
||||
pub stored_vars_by_symbol: Vec<(Symbol, Variable)>,
|
||||
pub storage_subs: StorageSubs,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue