Debian Codegraph @

testsuite/tests/tmc/tupled_function_calls.native.reference

raw
1 File "tupled_function_calls.ml", lines 16-21, characters 46-57:
2 16 | ..............................................(f, li) =
3 17 | match li with
4 18 | | [] -> []
5 19 | | x :: xs ->
6 20 | let pair = (f, xs) in
7 21 | f x :: (tupled_map_not_direct[@tailcall true]) pair
8 Warning 71 [unused-tmc-attribute]: This function is marked @tail_mod_cons
9 but is never applied in TMC position.
10
11 File "tupled_function_calls.ml", line 21, characters 13-57:
12 21 | f x :: (tupled_map_not_direct[@tailcall true]) pair
13 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 Warning 51 [wrong-tailcall-expectation]: expected tailcall
15
16 File "tupled_function_calls.ml", line 21, characters 13-57:
17 21 | f x :: (tupled_map_not_direct[@tailcall true]) pair
18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 Warning 51 [wrong-tailcall-expectation]: expected tailcall