diff --git a/vlib/v/tests/project_with_c_code_2/modc/wrapper.v b/vlib/v/tests/project_with_c_code_2/modc/wrapper.v index f9c3283ac9..1109196c38 100644 --- a/vlib/v/tests/project_with_c_code_2/modc/wrapper.v +++ b/vlib/v/tests/project_with_c_code_2/modc/wrapper.v @@ -42,10 +42,9 @@ pub fn call_with_array_param(arr []Vtype) { for t in arr { carr << *t.p } - // make it safe - a := carr - C.handle_array(a.data, a.len) - C.handle_array2(a.data, a.len) + // TODO: make it safe + C.handle_array(carr.data, carr.len) + C.handle_array2(carr.data, carr.len) } pub fn destroy_vtype(t Vtype) {