From 59273c37282a9b42dbf5d986b05445bc21dc890f Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 7 Nov 2024 11:27:50 -0300 Subject: [PATCH] fix test --- vlib/v/tests/generics/generic_selector_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/tests/generics/generic_selector_test.v b/vlib/v/tests/generics/generic_selector_test.v index 4ba0226f22b89a..d57f316cbec83e 100644 --- a/vlib/v/tests/generics/generic_selector_test.v +++ b/vlib/v/tests/generics/generic_selector_test.v @@ -28,7 +28,7 @@ pub fn (mut l List[T]) append(mut node Node[T]) ?int { for { if curr_node != none { if next_node := curr_node?.next { - curr_node = next_node + curr_node = unsafe { next_node } } else { curr_node?.next = &node l.size = l.size + 1