Skip to content

Commit 7f5235e

Browse files
committed
Disable warning -4 once more
1 parent 3effc65 commit 7f5235e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/common/pattern_printer.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ open Asttypes
55

66
let mkpat desc = Ast_helper.Pat.mk desc
77

8-
let is_generated_optional_constructor (lid : Longident.t Location.loc) =
8+
let[@warning "-4"] is_generated_optional_constructor
9+
(lid : Longident.t Location.loc) =
910
match lid.txt with
1011
| Longident.Lident name ->
1112
String.length name >= 2 && name.[0] = '#' && name.[1] = '$'

0 commit comments

Comments
 (0)