[fine] Get rid of "value required", it's not useful

This commit is contained in:
John Doty 2024-01-06 07:27:44 -08:00
parent b205ebcb4c
commit 758aef4db9
4 changed files with 43 additions and 66 deletions

View file

@ -1,2 +1,2 @@
if (if false { true }) { 32 } else { 23 }
// type-error: 4 this conditional expression needs an else arm to produce a value
// type-error: 4 the type of the `then` branch (bool) must match the type of the `else` branch (())