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

2 lines
142 B
Text

if (if false { true }) { 32 } else { 23 }
// type-error: 4 the type of the `then` branch (bool) must match the type of the `else` branch (())