Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Jan 2, 2025
1 parent 975336f commit dfd1cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/type_resolver/generic_resolver.v
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dfd1cf4

Please sign in to comment.