vlib/v/checker/tests/if_match_result.vv:3:2: notice: match is always false 1 | // missing results 2 | _ = match 4 { 3 | 1 {} | ^ 4 | else {} 5 | } vlib/v/checker/tests/if_match_result.vv:6:8: notice: condition is always true 4 | else {} 5 | } 6 | _ = if true { | ~~~~ 7 | } else { 8 | } vlib/v/checker/tests/if_match_result.vv:12:2: notice: match is always false 10 | // void results 11 | _ = match 4 { 12 | 1 { println('') } | ^ 13 | else { exit(0) } 14 | } vlib/v/checker/tests/if_match_result.vv:15:8: notice: condition is always true 13 | else { exit(0) } 14 | } 15 | _ = if true { | ~~~~ 16 | println('') 17 | } else { vlib/v/checker/tests/if_match_result.vv:2:3: error: assignment mismatch: 1 variable 0 values 1 | // missing results 2 | _ = match 4 { | ^ 3 | 1 {} 4 | else {} vlib/v/checker/tests/if_match_result.vv:6:5: error: `if` expression requires an expression as the last statement of every branch 4 | else {} 5 | } 6 | _ = if true { | ~~~~~~~ 7 | } else { 8 | } vlib/v/checker/tests/if_match_result.vv:7:3: error: `if` expression requires an expression as the last statement of every branch 5 | } 6 | _ = if true { 7 | } else { | ~~~~ 8 | } 9 | vlib/v/checker/tests/if_match_result.vv:6:3: error: assignment mismatch: 1 variable 0 values 4 | else {} 5 | } 6 | _ = if true { | ^ 7 | } else { 8 | } vlib/v/checker/tests/if_match_result.vv:11:3: error: assignment mismatch: 1 variable 0 values 9 | 10 | // void results 11 | _ = match 4 { | ^ 12 | 1 { println('') } 13 | else { exit(0) } vlib/v/checker/tests/if_match_result.vv:16:2: error: the final expression in `if` or `match`, must have a value of a non-void type 14 | } 15 | _ = if true { 16 | println('') | ~~~~~~~~~~~ 17 | } else { 18 | exit(0) vlib/v/checker/tests/if_match_result.vv:15:3: error: assignment mismatch: 1 variable 0 values 13 | else { exit(0) } 14 | } 15 | _ = if true { | ^ 16 | println('') 17 | } else {