|
|
|
@ -283,7 +283,7 @@ module JsonIssuePrinter = MakeJsonListPrinter (struct
|
|
|
|
|
| _ ->
|
|
|
|
|
None
|
|
|
|
|
in
|
|
|
|
|
let visibility = Exceptions.string_of_visibility err_data.visibility in
|
|
|
|
|
let visibility = Some (Exceptions.string_of_visibility err_data.visibility) in
|
|
|
|
|
let qualifier =
|
|
|
|
|
let base_qualifier = error_desc_to_plain_string err_key.err_desc in
|
|
|
|
|
if IssueType.(equal resource_leak) err_key.err_name then
|
|
|
|
@ -398,7 +398,7 @@ let pp_custom_of_report fmt report fields =
|
|
|
|
|
| `Issue_field_severity ->
|
|
|
|
|
Format.fprintf fmt "%s%s" (comma_separator index) issue.severity
|
|
|
|
|
| `Issue_field_visibility ->
|
|
|
|
|
Format.fprintf fmt "%s%s" (comma_separator index) issue.visibility
|
|
|
|
|
Format.fprintf fmt "%s%a" (comma_separator index) (Pp.option String.pp) issue.visibility
|
|
|
|
|
| `Issue_field_line ->
|
|
|
|
|
Format.fprintf fmt "%s%d" (comma_separator index) issue.line
|
|
|
|
|
| `Issue_field_column ->
|
|
|
|
|