Debian Codegraph @

testsuite/tests/warnings/w59.flambda.reference

raw
1 File "w59.ml", line 47, characters 2-43:
2 47 | Obj.set_field (Obj.repr o) 0 (Obj.repr 3);
3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 Warning 59 [flambda-assignment-to-non-mutable-value]: A potential assignment
5 to a non-mutable value was detected in this source file. Such assignments
6 may generate incorrect code when using Flambda.
7
8 File "w59.ml", line 48, characters 2-43:
9 48 | Obj.set_field (Obj.repr p) 0 (Obj.repr 3);
10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Warning 59 [flambda-assignment-to-non-mutable-value]: A potential assignment
12 to a non-mutable value was detected in this source file. Such assignments
13 may generate incorrect code when using Flambda.
14
15 File "w59.ml", line 49, characters 2-43:
16 49 | Obj.set_field (Obj.repr q) 0 (Obj.repr 3);
17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 Warning 59 [flambda-assignment-to-non-mutable-value]: A potential assignment
19 to a non-mutable value was detected in this source file. Such assignments
20 may generate incorrect code when using Flambda.
21
22 File "w59.ml", line 50, characters 2-43:
23 50 | Obj.set_field (Obj.repr r) 0 (Obj.repr 3)
24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 Warning 59 [flambda-assignment-to-non-mutable-value]: A potential assignment
26 to a non-mutable value was detected in this source file. Such assignments
27 may generate incorrect code when using Flambda.
28
29 File "w59.ml", line 57, characters 2-7:
30 57 | set o
31 ^^^^^
32 Warning 59 [flambda-assignment-to-non-mutable-value]: A potential assignment
33 to a non-mutable value was detected in this source file. Such assignments
34 may generate incorrect code when using Flambda.