We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3effc65 commit 7f5235eCopy full SHA for 7f5235e
compiler/common/pattern_printer.ml
@@ -5,7 +5,8 @@ open Asttypes
5
6
let mkpat desc = Ast_helper.Pat.mk desc
7
8
-let is_generated_optional_constructor (lid : Longident.t Location.loc) =
+let[@warning "-4"] is_generated_optional_constructor
9
+ (lid : Longident.t Location.loc) =
10
match lid.txt with
11
| Longident.Lident name ->
12
String.length name >= 2 && name.[0] = '#' && name.[1] = '$'
0 commit comments