From ae654553740f97c7239ee737e74d697e615adfd7 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 25 Sep 2019 03:26:31 -0700 Subject: [PATCH] Add type alias for name scope data structure --- schala-lang/language/src/scope_resolution.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/schala-lang/language/src/scope_resolution.rs b/schala-lang/language/src/scope_resolution.rs index 7bfc40b..7e05c03 100644 --- a/schala-lang/language/src/scope_resolution.rs +++ b/schala-lang/language/src/scope_resolution.rs @@ -5,6 +5,7 @@ use crate::ast::*; use crate::util::ScopeStack; type FQSNPrefix = Vec; +type NameScopeStack<'t> = ScopeStack<'t, Rc, FQSNPrefix>; pub struct ScopeResolver<'a> { symbol_table: &'a mut SymbolTable,