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 118294a commit 4508576Copy full SHA for 4508576
compiler/syntax/src/res_printer.ml
@@ -834,8 +834,10 @@ and print_mod_type ~state mod_type cmt_tbl =
834
print_attributes ~state attrs cmt_tbl
835
in
836
let lbl_doc =
837
- if lbl.Location.txt = "_" || lbl.txt = "*" then
838
- Doc.nil
+ if lbl.Location.txt = "_" then Doc.nil
+ else if lbl.txt = "*" then
839
+ let doc = Doc.text "()" in
840
+ print_comments doc cmt_tbl lbl.loc
841
else
842
let doc = Doc.text lbl.txt in
843
print_comments doc cmt_tbl lbl.loc
0 commit comments