
  Syntax error!
  syntax_tests/data/parsing/errors/typeDef/namedParameters.res:1:15-20

  1 │ type  draw = (stroke: pencil) => unit
  2 │ 

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

type nonrec draw = stroke:pencil -> unit (a:1)