diff options
| author | Teddy Wing | 2023-05-16 03:03:30 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2023-05-16 03:03:30 +0200 | 
| commit | 25ca092939a76031e531ace87a457bbe9b29066d (patch) | |
| tree | ba4dbc4972d836255ea95dec3d42d78c7b99191d /go.mod | |
| parent | c5a5153e6abfffbedc55e24ec505b1420660b5e3 (diff) | |
| download | gocapturedrefrace-25ca092939a76031e531ace87a457bbe9b29066d.tar.bz2 | |
Find a `pass.TypesInfo.Scopes[]` that's not nil
If I had read the comment for `Scopes` in
https://godocs.io/go/types#Info I would have known that only a subset of
`ast.Node` can appear in the `Scopes` field. Tried ones until I ended up
with valid scopes.
Now that we have a valid scope, maybe we can find out if it's using
variables not declared within that scope.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions
