Implement F405 (#243)

This commit is contained in:
Charlie Marsh 2022-09-21 12:13:40 -04:00 committed by GitHub
parent 71d9b2ac5f
commit d827e6e36a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 185 additions and 62 deletions

View file

@ -25,6 +25,7 @@ pub enum ScopeKind {
pub struct Scope {
pub id: usize,
pub kind: ScopeKind,
pub import_starred: bool,
pub values: BTreeMap<String, Binding>,
}
@ -33,6 +34,7 @@ impl Scope {
Scope {
id: id(),
kind,
import_starred: false,
values: BTreeMap::new(),
}
}