1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-06 16:18:08 +03:00

Impl Default for AnalysisHost

This commit is contained in:
Yannik Sander 2022-01-27 19:52:00 +01:00
parent 6eb3b1e3c5
commit 1872875de4

View File

@ -81,6 +81,19 @@ impl AnalysisHost {
}
}
impl Default for AnalysisHost {
fn default() -> Self {
Self {
env: Environment::new(),
scope: Default::default(),
next_scope_id: Default::default(),
meta: Default::default(),
record_fields: Default::default(),
access: Default::default(),
}
}
}
impl Linearizer for AnalysisHost {
type Building = Building;
type Completed = Completed;