diff --git a/kclvm/sema/src/advanced_resolver/node.rs b/kclvm/sema/src/advanced_resolver/node.rs index e97cca6a6..6cd4831e8 100644 --- a/kclvm/sema/src/advanced_resolver/node.rs +++ b/kclvm/sema/src/advanced_resolver/node.rs @@ -582,13 +582,13 @@ impl<'ctx> MutSelfTypedResultWalker<'ctx> for AdvancedResolver<'ctx> { .unwrap() .clone(); if let TypeKind::Function(func_ty) = &ty.kind { - func_params.extend(&func_ty.params) + func_params.extend(&func_ty.params) } self.do_arguments_symbol_resolve_with_hint( &call_expr.args, &call_expr.keywords, true, - func_params + func_params, )?; Ok(None) }