
  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/constructor.res:2:14-16

  1 │ switch x {
  2 │ | Rgb(r, g, b => ()
  3 │ | Rgb(r, g, Color(a, b => ()
  4 │ | Rgb(r, g, list{1, 2 => ()

  Did you forget a `)` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/constructor.res:3:23-25

  1 │ switch x {
  2 │ | Rgb(r, g, b => ()
  3 │ | Rgb(r, g, Color(a, b => ()
  4 │ | Rgb(r, g, list{1, 2 => ()
  5 │ }

  Did you forget a `)` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/constructor.res:4:22-24

  2 │ | Rgb(r, g, b => ()
  3 │ | Rgb(r, g, Color(a, b => ()
  4 │ | Rgb(r, g, list{1, 2 => ()
  5 │ }
  6 │ 

  Did you forget a `}` here?

;;match x with
  | Rgb (r, g, b) -> ()
  | Rgb (r, g, Color (a, b)) -> ()
  | Rgb (r, g, 1::2::[]) -> ()