oden/fine/tests/expression/errors/if_mismatched_arms.fine

2 lines
136 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)