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.
2 parents 6f59dba + fab2d7d commit 529e206Copy full SHA for 529e206
syntax/src/res_outcome_printer.ml
@@ -598,7 +598,10 @@ let printPolyVarIdent txt =
598
Doc.text " =";
599
Doc.line;
600
Doc.group (
601
- Doc.join ~sep:Doc.line (List.map (fun prim -> Doc.text ("\"" ^ prim ^ "\"")) primitives)
+ Doc.join ~sep:Doc.line (List.map (fun prim ->
602
+ let prim = if prim <> "" && prim.[0] = '\132' then "#rescript-external" else prim in
603
+ (* not display those garbage '\132' is a magic number for marshal *)
604
+ Doc.text ("\"" ^ prim ^ "\"")) primitives)
605
)
606
]
607
0 commit comments