
  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/list.res:3:17-19

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

  Did you forget a `}` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/list.res:4:9-11

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

  Did you forget a `=>` here?


  Syntax error!
  syntax_tests/data/parsing/recovery/pattern/list.res:4:9-11

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

  Did you forget a `}` here?

;;match x with | [] -> () | 1::[]::[] -> () | [] -> [%rescript.exprhole ]
;;1
;;[3; 4]
;;()