We've found a bug for you! /.../fixtures/variant_coercion_int.res:5:10-17 3 │ let x = One(true) 4 │ 5 │ let y = (x :> int) 6 │ Type x is not a subtype of int The constructor One of variant x has a payload, but the variant itself is not unboxed. This means that the constructor One will be encoded as an object at runtime, which is not compatible with int.