
  Syntax error!
  syntax_tests/data/parsing/errors/expressions/ambiguousArrow.res:1:9-21

  1 │ let a = b:int => "hi"
  2 │ 
  3 │ let x = {

  Did you mean to annotate the parameter type or the return type?
  1) (b): int => "hi"
  2) (b: int) => "hi"


  Syntax error!
  syntax_tests/data/parsing/errors/expressions/ambiguousArrow.res:6:3-23

  4 │   let a = 1
  5 │   let b = 2
  6 │   a + b : int => "test"
  7 │ }
  8 │ 

  Did you mean to annotate the parameter type or the return type?
  1) (pattern): int => "test"
  2) (pattern: int) => "test"

let a b = ({js|hi|js} : int)
let x = ((let a = 1 in let b = 2 in fun pattern -> ({js|test|js} : int))
  [@res.braces ])