diff --git a/schala-lang/src/util.rs b/schala-lang/src/util.rs index e0520ca..d8bd74b 100644 --- a/schala-lang/src/util.rs +++ b/schala-lang/src/util.rs @@ -27,7 +27,7 @@ impl<'a, T, V> ScopeStack<'a, T, V> where T: Hash + Eq { (Some(value), _) => Some(value), } } - //TODO rename new_scope + pub fn new_scope(&'a self, name: Option) -> ScopeStack<'a, T, V> where T: Hash + Eq { ScopeStack { parent: Some(self),