We've found a bug for you! /.../fixtures/warnings2.res:2:3-4 1 │ let z = () => { 2 │ 10 3 │ 10 4 │ } This has type: int But it's expected to have type: unit - Did you mean to assign this to a variable? - If you don't care about the result of this expression, you can assign it to _ via let _ = ... or pipe it to ignore via expression->ignore