oden/fine/tests/expression/errors/if_mismatched_arms.fine
2024-01-05 19:29:45 -08:00

2 lines
135 B
Text

if true { "blarg" } else { 23 }
// type-error: 0 the type of the `then` branch (string) must match the type of the `else` branch (f64)