We've found a bug for you! /.../fixtures/instance_of_public_subclass.res:2:20-36 1 │ @instanceOf("Animal") type animal 2 │ @instanceOf("Dog") type dog = animal 3 │ A subclass must be a private abbreviation: write `= private ...` so that instances of Animal cannot be used as instances of Dog without a coercion.