Merge branch 'refactor-closure-can' into scope-smarter-storage

This commit is contained in:
Folkert 2022-04-27 19:46:02 +02:00
commit 34d77cffdb
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 347 additions and 423 deletions

View file

@ -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()
}