Hi,
ocamlformat crashes on the following input:
Interestingly, this only happens with some kinds of binary operators. For example ("" ^ "") [@a] crashes as well, but (0 + 0) [@a] works. Part of the reason might be that 0 + 0 [@a] is parsed with the attribute on the apply, not on the second operand.