aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorTeddy Wing2023-05-16 03:03:30 +0200
committerTeddy Wing2023-05-16 03:03:30 +0200
commit25ca092939a76031e531ace87a457bbe9b29066d (patch)
treeba4dbc4972d836255ea95dec3d42d78c7b99191d /go.mod
parentc5a5153e6abfffbedc55e24ec505b1420660b5e3 (diff)
downloadgocapturedrefrace-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