mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
This commit is contained in:
commit
6a9b08ed11
23 changed files with 542 additions and 813 deletions
|
@ -25,7 +25,8 @@ pub struct Module {
|
|||
pub exposed_symbols: MutSet<Symbol>,
|
||||
pub referenced_values: MutSet<Symbol>,
|
||||
pub referenced_types: MutSet<Symbol>,
|
||||
pub aliases: MutMap<Symbol, Alias>,
|
||||
/// all aliases. `bool` indicates whether it is exposed
|
||||
pub aliases: MutMap<Symbol, (bool, Alias)>,
|
||||
pub rigid_variables: RigidVariables,
|
||||
}
|
||||
|
||||
|
@ -307,8 +308,8 @@ pub fn canonicalize_module_defs<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
for (var, lowercase) in output.introduced_variables.name_by_var {
|
||||
rigid_variables.named.insert(var, lowercase.clone());
|
||||
for named in output.introduced_variables.named {
|
||||
rigid_variables.named.insert(named.variable, named.name);
|
||||
}
|
||||
|
||||
for var in output.introduced_variables.wildcards {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue