We've found a bug for you! /.../fixtures/set_unit_arg.res:3:1-4:38 1 │ type t 2 │ 3 │ @set 4 │ external setX: (t, unit) => unit = "x" 5 │ 6 │ let f = (t: t) => setX(t, ()) Ill defined attribute @set (unit argument is not allowed)