Fix test
This commit is contained in:
parent
03f8abac6a
commit
06026604cc
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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::*;
|
||||
|
Loading…
Reference in New Issue
Block a user