This commit is contained in:
greg 2019-09-20 12:14:15 -07:00
parent 03f8abac6a
commit 06026604cc
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ fn evaluate_all_outputs(input: &str) -> Vec<Result<String, String>> {
state.symbol_table_handle.borrow_mut().add_top_level_symbols(&ast).unwrap();
{
let mut t = &mut state.symbol_table_handle.borrow_mut();
let mut scope_resolver = crate::scope_resolution::ScopeResolver::new(&mut t);
let mut scope_resolver = ScopeResolver::new(&mut t);
let _ = scope_resolver.resolve(&mut ast);
}

View File

@ -4,7 +4,7 @@ use std::str::FromStr;
use super::tokenize;
use super::ParseResult;
use crate::ast::{ItemIdStore, AST, Meta, Expression, Statement, StatementKind, IfExpressionBody, Discriminator, Pattern, PatternLiteral, TypeBody, Enumerator, ForBody, InvocationArgument, FormalParam, PrefixOp, BinOp, QualifiedName};
use crate::ast::{ItemIdStore, AST, Expression, Statement, StatementKind, IfExpressionBody, Discriminator, Pattern, PatternLiteral, TypeBody, Enumerator, ForBody, InvocationArgument, FormalParam, PrefixOp, BinOp, QualifiedName};
use super::Declaration::*;
use super::Signature;
use super::TypeIdentifier::*;