index
:
gocapturedrefrace
master
Analyser that reports captured variable references in goroutine closures
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
Age
Commit message (
Expand
)
Author
2023-05-16
checkClosure: Add function doc comment
Teddy Wing
2023-05-16
checkClosure: Clean up old code
Teddy Wing
2023-05-16
run: Add a few explanatory comments
Teddy Wing
2023-05-16
run: Clean up old code
Teddy Wing
2023-05-16
Report reference-type closure arguments
Teddy Wing
2023-05-16
Get arguments of closure with `funcLit.Type.Params.List`
Teddy Wing
2023-05-16
Try to get the arguments of the closure from `goStmt.Call.Args`
Teddy Wing
2023-05-16
Ignore any identifier that isn't a *types.Var
Teddy Wing
2023-05-16
Add notes for next things to add and fix
Teddy Wing
2023-05-16
Ignore variables defined in the function closure
Teddy Wing
2023-05-16
Use scope test to report captured variables
Teddy Wing
2023-05-16
Add automated test
Teddy Wing
2023-05-16
Rename module to `gopkg.teddywing.com/gocapturedrefrace`
Teddy Wing
2023-05-16
Ideas for using scope LookupParent to check if variable is local
Teddy Wing
2023-05-16
Add a note for the current goal
Teddy Wing
2023-05-16
Find variable in outer scopes
Teddy Wing
2023-05-16
Add note about `(*types.Scope).LookupParent`
Teddy Wing
2023-05-16
Find a `pass.TypesInfo.Scopes[]` that's not nil
Teddy Wing
2023-05-16
Idea for getting the scope of the closure
Teddy Wing
2023-05-16
Add note about getting function Scope
Teddy Wing
2023-05-16
Add note about (*ast.CallExpr).Args
Teddy Wing
2023-05-16
Trying to get `types.Scope` of function literal
Teddy Wing
2023-05-16
Print origin and scope information of closure variables
Teddy Wing
2023-05-16
Use `pass.TypesInfo.Defs[ident]` to differentiate DEFINE/ASSIGN
Teddy Wing
2023-05-15
`(*AssignStmt).Tok` always appears to be token.DEFINE
Teddy Wing
2023-05-15
assignmentsInFunc: Try checking `(*AssignStmt).Tok`
Teddy Wing
2023-05-15
Try getting `GenDecl`s in closure
Teddy Wing
2023-05-15
Add test for reference arguments
Teddy Wing
2023-05-15
Add a new test for struct methods
Teddy Wing
2023-05-15
Idea for getting variable declarations instead of assignments
Teddy Wing
2023-05-15
Get assignments in closure
Teddy Wing
2023-05-15
Idea for building a list of variable assignments
Teddy Wing
2023-05-15
Ignore variables from the closure's formal arguments
Teddy Wing
2023-05-15
Find out how to get closure arguments
Teddy Wing
2023-05-15
Ideas for finding out whether a variable is a captured reference
Teddy Wing
2023-05-15
Try to limit identifier enumeration to variables
Teddy Wing
2023-05-15
testdata/simple.go: Add package and function call
Teddy Wing
2023-05-15
testdata/simple.go: Add a local variable in closure
Teddy Wing
2023-05-15
testdata/simple.go: Find out what happens when var is reused
Teddy Wing
2023-05-15
Find variables in `go func` closures
Teddy Wing
2023-05-14
Find `go` statements using Go analyzer
Teddy Wing
2023-05-13
Add Idea.txt
Teddy Wing
[prev]