===== User.res ===== We've found a bug for you! /.../fixtures/Cross_gadt_pattern/User.res:3:5-7 1 │ let bad: Gadt.t => string = x => 2 │ switch x { 3 │ | Int(n) => n 4 │ | Pair(_, _) => "pair" 5 │ } The GADT constructor Int of type Gadt.t must be written with its module prefix in this pattern.