
  Syntax error!
  syntax_tests/data/parsing/errors/typeDef/polyvariant.res:1:13

  1 │ type t = [< ]
  2 │ 
  3 │ type z = [< | #A | #B > ]

  I'm not sure what to parse here when looking at "]".


  Syntax error!
  syntax_tests/data/parsing/errors/typeDef/polyvariant.res:5:15

  3 │ type z = [< | #A | #B > ]
  4 │ 
  5 │ type rec t = []
  6 │ 
  7 │ 

  I'm not sure what to parse here when looking at "]".

type nonrec t = [< [%rescript.typehole ]]
type nonrec z = [< `A  | `B ]
type t = [ [%rescript.typehole ] | [%rescript.typehole ]]