
  Syntax error!
  syntax_tests/data/parsing/errors/other/labelledParameters.res:1:13-14

  1 │ let f = (x, y=2, z) => x + y + z
  2 │ 
  3 │ let g = (~?x, ~y=2, ~z) => x + y + z

  A labeled parameter starts with a `~`. Did you mean: `~y`?


  Syntax error!
  syntax_tests/data/parsing/errors/other/labelledParameters.res:3:11

  1 │ let f = (x, y=2, z) => x + y + z
  2 │ 
  3 │ let g = (~?x, ~y=2, ~z) => x + y + z
  4 │ 
  5 │ type f = (x: int, y: int) => int

  I'm expecting a lowercase name like `user or `age`


  Syntax error!
  syntax_tests/data/parsing/errors/other/labelledParameters.res:5:11

  3 │ let g = (~?x, ~y=2, ~z) => x + y + z
  4 │ 
  5 │ type f = (x: int, y: int) => int
  6 │ 

  A labeled parameter starts with a `~`. Did you mean: `~x`?

let f [arity:3]x ?(y= 2)  z = (x + y) + z
let g [arity:3]~x  ?(y= 2)  ~z  = (x + y) + z
type nonrec f = x:int -> y:int -> int (a:2)