oden/fine/tests/expression/errors/if_requires_else.fine

4 lines
137 B
Text

if (if false { true }) { 32 } else { 23 }
// @expect-errors:
// | 1:3: this condition produces 'nothing or bool', but must produce bool