Debian Codegraph @

test/instrument/apply/operator.t

raw
1 Instrumentation of partially-applied functions on the left of (@@) is
2 suppressed.
3
4 $ bash ../test.sh <<'EOF'
5 > let _ = ListLabels.iter ~f:ignore @@ []
6 > EOF
7 let _ = ___bisect_post_visit___ 0 (ListLabels.iter ~f:ignore @@ [])
8
9
10 Subexpressions instrumented recursively.
11
12 $ bash ../test.sh <<'EOF'
13 > let _ = String.concat (String.trim "") @@ []
14 > let _ = (fun () -> ()) @@ ()
15 > let _ = String.concat "" @@ List.append [] []
16 > EOF
17 let _ =
18 ___bisect_post_visit___ 1
19 (String.concat (___bisect_post_visit___ 0 (String.trim "")) @@ [])
20
21 let _ =
22 ___bisect_post_visit___ 3
23 ((fun () ->
24 ___bisect_visit___ 2;
25 ())
26 @@ ())
27
28 let _ =
29 ___bisect_post_visit___ 5
30 (String.concat "" @@ ___bisect_post_visit___ 4 (List.append [] []))