[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

@ -3,4 +3,4 @@ fun test() {
}
// @expect-errors:
// | 2:8: the condition of the while loop must produce a boolean
// | 2:8: this condition produces 'f64', but must produce bool