
  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/parenthesized.res:2:5-8

  1 │ switch x {
  2 │ | (a  => ()
  3 │ | ([a, b => ()
  4 │ | ({a, ...b => ()

  Did you forget a `)` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/parenthesized.res:3:9-11

  1 │ switch x {
  2 │ | (a  => ()
  3 │ | ([a, b => ()
  4 │ | ({a, ...b => ()
  5 │ | (list{1, => ()

  Did you forget a `]` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/parenthesized.res:4:12-14

  2 │ | (a  => ()
  3 │ | ([a, b => ()
  4 │ | ({a, ...b => ()
  5 │ | (list{1, => ()
  6 │ | ((1, 2 => ()

  Did you forget a `}` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/parenthesized.res:5:11-13

  3 │ | ([a, b => ()
  4 │ | ({a, ...b => ()
  5 │ | (list{1, => ()
  6 │ | ((1, 2 => ()
  7 │ }

  Did you forget a `}` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/parenthesized.res:6:9-11

  4 │ | ({a, ...b => ()
  5 │ | (list{1, => ()
  6 │ | ((1, 2 => ()
  7 │ }
  8 │ 

  Did you forget a `)` here?

;;match x with
  | a -> ()
  | [|a;b|] -> ()
  | { a; b } -> ()
  | 1::[] -> ()
  | (1, 2) -> ()