Skip to content

Commit 877182b

Browse files
committed
warnings
1 parent b90621d commit 877182b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

analysis/reanalyze/src/Arnold.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ module Compile = struct
909909
c +++ ConstrOption Rnone
910910
| _ -> c)
911911
| Texp_function {cases} -> cases |> List.map (case ~ctx) |> Command.nondet
912-
| Texp_match (e, casesOk, casesExn, partial)
912+
| Texp_match (e, casesOk, casesExn, _partial)
913913
when not
914914
(casesExn
915915
|> List.map (fun (case : Typedtree.case) -> case.c_lhs.pat_desc)

analysis/reanalyze/src/Log_.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ let item x =
9898
Format.fprintf Format.std_formatter " ";
9999
Format.fprintf Format.std_formatter x
100100

101-
let missingRaiseInfoToText {exnTable; missingAnnotations; locFull} =
101+
let missingRaiseInfoToText {missingAnnotations; locFull} =
102102
let missingTxt =
103103
Format.asprintf "%a" (Exceptions.pp ~exnTable:None) missingAnnotations
104104
in
@@ -179,7 +179,7 @@ let logIssue ~(issue : issue) =
179179
let message = Json.escape (descriptionToMessage issue.description) in
180180
Format.asprintf "%a%s%s"
181181
(fun ppf () ->
182-
EmitJson.emitItem ~ppf:Format.std_formatter ~name:issue.name
182+
EmitJson.emitItem ~ppf ~name:issue.name
183183
~kind:
184184
(match issue.severity with
185185
| Warning -> "warning"

0 commit comments

Comments
 (0)