Debian Codegraph @

testsuite/tests/warnings/w04_failure.compilers.reference

raw
1 File "w04_failure.ml", lines 20-23, characters 2-17:
2 20 | ..match r1, r2, t with
3 21 | | AB, _, A -> ()
4 22 | | _, XY, X -> ()
5 23 | | _, _, _ -> ()
6 Warning 4 [fragile-match]: this pattern-matching is fragile.
7 It will remain exhaustive when constructors are added to type repr.
8
9 File "w04_failure.ml", lines 20-23, characters 2-17:
10 20 | ..match r1, r2, t with
11 21 | | AB, _, A -> ()
12 22 | | _, XY, X -> ()
13 23 | | _, _, _ -> ()
14 Warning 4 [fragile-match]: this pattern-matching is fragile.
15 It will remain exhaustive when constructors are added to type ab.
16
17 File "w04_failure.ml", lines 20-23, characters 2-17:
18 20 | ..match r1, r2, t with
19 21 | | AB, _, A -> ()
20 22 | | _, XY, X -> ()
21 23 | | _, _, _ -> ()
22 Warning 4 [fragile-match]: this pattern-matching is fragile.
23 It will remain exhaustive when constructors are added to type xy.