Skip to content

Commit 45fe87c

Browse files
authored
checker: minor cleanup in fn_call() (#14307)
1 parent 3091f31 commit 45fe87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/v/checker/fn.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ pub fn (mut c Checker) fn_call(mut node ast.CallExpr, mut continue_check &bool)
875875
mut final_param_sym := param_typ_sym
876876
mut final_param_typ := param.typ
877877
if func.is_variadic && param_typ_sym.info is ast.Array {
878-
final_param_typ = param_typ_sym.array_info().elem_type
878+
final_param_typ = param_typ_sym.info.elem_type
879879
final_param_sym = c.table.sym(final_param_typ)
880880
}
881881
// Note: Casting to voidptr is used as an escape mechanism, so:

0 commit comments

Comments
 (0)