diff options
author | Teddy Wing | 2023-05-17 19:29:42 +0200 |
---|---|---|
committer | Teddy Wing | 2023-05-17 19:29:42 +0200 |
commit | 30108b1bd18392588d4744a75658360eb18bd8e9 (patch) | |
tree | 4230847a8522f40e150ff5ab6fa36b7f704b0ac6 /testdata/struct_reference.go | |
parent | 74097ae4882b4018267a70bee0c667312b9ce8e1 (diff) | |
download | gocapturedrefrace-30108b1bd18392588d4744a75658360eb18bd8e9.tar.bz2 |
Add test for function arguments
Don't report captured function values:
$ go test
--- FAIL: Test (1.26s)
analysistest.go:459: ./testdata/function_argument.go:5:3:
unexpected diagnostic: captured reference callback in goroutine
closure
Diffstat (limited to 'testdata/struct_reference.go')
0 files changed, 0 insertions, 0 deletions