mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Merge branch 'refactor-closure-can' into scope-smarter-storage
This commit is contained in:
commit
34d77cffdb
5 changed files with 347 additions and 423 deletions
|
@ -196,10 +196,6 @@ impl Scope {
|
|||
self.idents.get_index(ident).is_some()
|
||||
}
|
||||
|
||||
pub fn contains_symbol(&self, symbol: Symbol) -> bool {
|
||||
self.idents.symbols.contains(&symbol)
|
||||
}
|
||||
|
||||
pub fn num_idents(&self) -> usize {
|
||||
self.idents.len()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue