From dfd1cf48dbd3c9e4fddacb254a0817718317f9af Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 1 Jan 2025 22:39:43 -0300 Subject: [PATCH] fix --- vlib/v/type_resolver/generic_resolver.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/type_resolver/generic_resolver.v b/vlib/v/type_resolver/generic_resolver.v index e87a069ddb7971..610d5fce7dd51a 100644 --- a/vlib/v/type_resolver/generic_resolver.v +++ b/vlib/v/type_resolver/generic_resolver.v @@ -143,7 +143,7 @@ pub fn (mut t TypeResolver) resolve_args(cur_fn &ast.FnDecl, func &ast.Fn, mut n param_typ := param.typ if mut call_arg.expr is ast.Ident { if mut call_arg.expr.obj is ast.Var { - // node_.args[i].typ = call_arg.expr.obj.typ + node_.args[i].typ = call_arg.expr.obj.typ if call_arg.expr.obj.ct_type_var !in [.generic_var, .generic_param, .no_comptime] { mut ctyp := t.get_type(call_arg.expr) if ctyp != ast.void_type {