File tree 2 files changed +8
-7
lines changed
testsuite/tests/typing-layouts-err-msg
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
(* TEST
2
2
setup-ocamlopt.opt-build-env;
3
+ arch_amd64;
3
4
flags = "-extension layouts_alpha";
4
5
compiler_reference2 = "${test_source_directory}/probe.reference";
5
6
ocamlopt_opt_exit_status = "2";
Original file line number Diff line number Diff line change 1
- File "probe.ml", line 12 , characters 6-7:
2
- 12 | let f () = x in
1
+ File "probe.ml", line 13 , characters 6-7:
2
+ 13 | let f () = x in
3
3
^
4
4
Warning 26 [unused-var]: unused variable f.
5
5
6
- File "probe.ml", lines 11-14 , characters 20-2:
7
- 11 | ....................[%probe "a" (
8
- 12 | let f () = x in
9
- 13 | ()
10
- 14 | )]
6
+ File "probe.ml", lines 12-15 , characters 20-2:
7
+ 12 | ....................[%probe "a" (
8
+ 13 | let f () = x in
9
+ 14 | ()
10
+ 15 | )]
11
11
Error: Variables in probe handlers must have jkind value, but x in this handler does not.
You can’t perform that action at this time.
0 commit comments