From 14f3516896a829ac82c1906eff6558ca357e8fe5 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 25 Jun 2026 15:42:43 +0300 Subject: [PATCH] vlib/v/parser/tests: update prohibit_redeclaration .out for shifted Option line chan_option_result.v gained the error_sentinel const before struct Option, moving it from line 148 to 159; refresh the expected error fixture to match. --- .../prohibit_redeclaration_of_builtin_types.out | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vlib/v/parser/tests/prohibit_redeclaration_of_builtin_types.out b/vlib/v/parser/tests/prohibit_redeclaration_of_builtin_types.out index 00b5f376e..5375d77a4 100644 --- a/vlib/v/parser/tests/prohibit_redeclaration_of_builtin_types.out +++ b/vlib/v/parser/tests/prohibit_redeclaration_of_builtin_types.out @@ -1,10 +1,10 @@ vlib/v/parser/tests/prohibit_redeclaration_of_builtin_types.vv:1:8: error: cannot register struct `Option`, another type with this name exists 1 | struct Option {} | ~~~~~~ -Details: vlib/builtin/chan_option_result.v:148:8: details: another declaration was found here - 146 | - 147 | // Option is the base of V's internal option return system. - 148 | struct Option { +Details: vlib/builtin/chan_option_result.v:159:8: details: another declaration was found here + 157 | + 158 | // Option is the base of V's internal option return system. + 159 | struct Option { | ~~~~~~ - 149 | state u8 // 0 - ok; 2 - none; 1 - ? - 150 | err IError = none__ + 160 | state u8 // 0 - ok; 2 - none; 1 - ? + 161 | err IError = none__ -- 2.39.5