We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f985ab1 commit 6117497Copy full SHA for 6117497
compiler/frontend/ast_exp_apply.ml
@@ -197,7 +197,8 @@ let app_exp_mapper (e : exp) (self : Bs_ast_mapper.mapper) : exp =
197
| _ -> Location.raise_errorf ~loc "invalid #= assignment"))
198
| Some {op = "->"; loc} ->
199
Location.raise_errorf ~loc
200
- "invalid |. syntax, it can only be used as binary operator"
+ "Invalid pipe syntax. The pipe symbol (->) can only be used as a binary \
201
+ operator."
202
| Some {op = "##"; loc} ->
203
204
"Js object ## expect syntax like obj##(paint (a,b)) "
0 commit comments