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 fe70498 commit 06be5c8Copy full SHA for 06be5c8
lib/Translation_unit.ml
@@ -62,7 +62,8 @@ module Error = struct
62
let print_internal_error ~debug ~quiet fmt e =
63
let s =
64
match e with
65
- | `Cannot_parse _ -> "generating invalid ocaml syntax"
+ | `Cannot_parse (Parse_with_comments.Warning50 _) -> "generating invalid comment attachment"
66
+ | `Cannot_parse e -> "generating invalid ocaml syntax"
67
| `Ast_changed -> "ast changed"
68
| `Comment _ -> "comment changed"
69
| `Warning50 _ -> "misplaced documentation comment"
0 commit comments