File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ let command ~debug ~emitter ~path =
311
311
cases
312
312
|> List. filter_map (fun ((label : Longident.t Location.loc ), _ ) ->
313
313
match label.txt with
314
- | Longident. Lident s when Utils. isFirstCharUppercase s ->
314
+ | Longident. Lident s when not ( Utils. isFirstCharUppercase s) ->
315
315
Some label
316
316
| _ -> None )
317
317
|> List. iter (fun label -> emitter |> emitRecordLabel ~label ~debug );
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ let endsWith s suffix =
16
16
p < = String. length s && String. sub s (l - p) p = suffix
17
17
18
18
let isFirstCharUppercase s =
19
- String. length s > 0 && not ( Char. equal s.[0 ] (Char. uppercase_ascii s.[0 ]) )
19
+ String. length s > 0 && Char. equal s.[0 ] (Char. uppercase_ascii s.[0 ])
20
20
21
21
let cmtPosToPosition {Lexing. pos_lnum; pos_cnum; pos_bol} =
22
22
Protocol. {line = pos_lnum - 1 ; character = pos_cnum - pos_bol}
You can’t perform that action at this time.
0 commit comments