We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38a5bd commit e0a1815Copy full SHA for e0a1815
analysis/src/DumpAst.ml
@@ -152,6 +152,14 @@ and printExprItem expr ~pos ~indentation =
152
^ (expr.pexp_loc |> printLocDenominator ~pos)
153
^
154
match expr.Parsetree.pexp_desc with
155
+ | Pexp_array exprs ->
156
+ "Pexp_array(\n"
157
+ ^ addIndentation (indentation + 1)
158
+ ^ (exprs
159
+ |> List.map (fun expr ->
160
+ expr |> printExprItem ~pos ~indentation:(indentation + 1))
161
+ |> String.concat ("\n" ^ addIndentation (indentation + 1)))
162
+ ^ "\n" ^ addIndentation indentation ^ ")"
163
| Pexp_match (matchExpr, cases) ->
164
"Pexp_match("
165
^ printExprItem matchExpr ~pos ~indentation:0
0 commit comments