Debian Codegraph @

tools/antithesis-go-instrumentor/scanners/coverage/instrumentor/testdata/golden/closure/expected.ast_rewriting.golden

raw
1 package sample
2
3 import __antithesis_instrumentation__ "antithesis.notifier/instrumentation"
4
5
6 //line input.go:3
7 func Make() func() int {
8 __antithesis_instrumentation__.Notify(1)
9
10 //line input.go:4
11 n := 0
12
13 //line input.go:5
14 return func() int {
15 __antithesis_instrumentation__.Notify(2)
16
17 //line input.go:6
18 n++
19
20 //line input.go:7
21 return n
22 }
23 }