[fine] Conditionals produce alternates (yikes!)

This commit is contained in:
John Doty 2024-02-07 07:58:36 -08:00
parent 8b9a69b898
commit b43947b6f1
6 changed files with 35 additions and 44 deletions

View file

@ -1,2 +1,4 @@
if 23 { "what" } else { "the" }
// @type-error: 0 conditions must yield a boolean
// @expect-errors:
// | 1:3: this condition produces 'f64', but must produce bool