[fine] Conditionals produce alternates (yikes!)
This commit is contained in:
parent
8b9a69b898
commit
b43947b6f1
6 changed files with 35 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue