oden/fine/tests/expression/errors/if_requires_else.fine
John Doty 1199646e29 [fine] File name in error messages
Going to need to normalize that name though, because right now it
really *really* sucks to have a big \\?\ kinda name. Probably
normalize it relative to the base directory.
2024-02-15 06:36:14 -08:00

4 lines
146 B
Text

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