mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
restrain the set of captured variables further
This commit is contained in:
parent
40ffca2b7b
commit
e656363cc0
6 changed files with 30 additions and 11 deletions
|
@ -27,6 +27,8 @@ pub struct Env<'a> {
|
|||
/// Symbols which were referenced by qualified lookups.
|
||||
pub qualified_lookups: MutSet<Symbol>,
|
||||
|
||||
pub top_level_symbols: MutSet<Symbol>,
|
||||
|
||||
pub ident_ids: IdentIds,
|
||||
pub exposed_ident_ids: IdentIds,
|
||||
}
|
||||
|
@ -48,6 +50,7 @@ impl<'a> Env<'a> {
|
|||
closures: MutMap::default(),
|
||||
qualified_lookups: MutSet::default(),
|
||||
tailcallable_symbol: None,
|
||||
top_level_symbols: MutSet::default(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue