Add the ability to remove and list aliases (#3879)

* Add the ability to remove and list aliases

* Fix failing unit tests

* Add a test to check unalias shadowing blocks
This commit is contained in:
soumil-07
2021-08-17 19:26:35 +05:30
committed by GitHub
parent 2b7390c2a1
commit 9bd408449e
9 changed files with 110 additions and 16 deletions

View File

@@ -317,6 +317,10 @@ mod tests {
todo!()
}
fn remove_alias(&self, _name: &str) {
todo!()
}
fn add_definition(&self, _block: Arc<Block>) {}
fn get_definitions(&self) -> Vec<Arc<Block>> {