Debian Codegraph @

testsuite/tests/warnings/w45.compilers.reference

raw
1 File "w45.ml", line 24, characters 2-9:
2 24 | open T2 (* shadow X, which is later used; but not A, see #6762 *)
3 ^^^^^^^
4 Warning 45 [open-shadow-label-constructor]: this open statement shadows the
5 constructor X (which is later used)
6
7 File "w45.ml", line 26, characters 14-15:
8 26 | let _ = (A, X) (* X belongs to several types *)
9 ^
10 Warning 41 [ambiguous-name]: X belongs to several types: T2.s T1.s.
11 The first one was selected. Please disambiguate if this is wrong.
12
13 File "w45.ml", line 23, characters 2-9:
14 23 | open T1 (* unused open *)
15 ^^^^^^^
16 Warning 33 [unused-open]: unused open T1.