diff --git a/kclvm/sema/src/advanced_resolver/mod.rs b/kclvm/sema/src/advanced_resolver/mod.rs index 6c3feb6b9..63e5e0046 100644 --- a/kclvm/sema/src/advanced_resolver/mod.rs +++ b/kclvm/sema/src/advanced_resolver/mod.rs @@ -34,8 +34,6 @@ └─────────────────────┘ */ -use std::sync::Arc; - use indexmap::IndexMap; use kclvm_error::Position; @@ -46,7 +44,7 @@ use crate::{ scope::{LocalSymbolScope, RootSymbolScope, ScopeKind, ScopeRef}, symbol::SymbolRef, }, - ty::{Type, TypeRef}, + ty::TypeRef, }; use kclvm_ast::ast; use kclvm_ast::ast::AstIndex; @@ -67,7 +65,7 @@ pub struct AdvancedResolver<'ctx> { pub struct Context<'ctx> { pub program: &'ctx Program, - node_ty_map: IndexMap>, + node_ty_map: IndexMap, scopes: Vec, current_pkgpath: Option, current_filename: Option,