diff --git a/schala-lang/language/src/eval/test.rs b/schala-lang/language/src/eval/test.rs index 59a84de..7f301b1 100644 --- a/schala-lang/language/src/eval/test.rs +++ b/schala-lang/language/src/eval/test.rs @@ -15,7 +15,7 @@ fn evaluate_all_outputs(input: &str) -> Vec> { 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); } diff --git a/schala-lang/language/src/parsing/test.rs b/schala-lang/language/src/parsing/test.rs index c2d82d2..83042ec 100644 --- a/schala-lang/language/src/parsing/test.rs +++ b/schala-lang/language/src/parsing/test.rs @@ -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::*;