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-18
Add test for shadowing declaration
Teddy Wing
2023-05-18
Clean up checkShadowing
Teddy Wing
2023-05-18
Ignore shadowed variables
Teddy Wing
2023-05-18
Create a new plan for checking shadowing
Teddy Wing
2023-05-18
Try to ignore shadowed assignments
Teddy Wing
2023-05-18
Find shadowed variable assignments
Teddy Wing
2023-05-17
Separate `isVariableTypeSignature` condition
Teddy Wing
2023-05-17
Add test for shadowing
Teddy Wing
2023-05-17
Ignore captured variables containing functions
Teddy Wing
2023-05-17
function_argument: Add a test for local function variables
Teddy Wing
2023-05-17
Add test for function arguments
Teddy Wing
2023-05-17
Add note for package documentation
Teddy Wing
2023-05-17
Add note for version flag
Teddy Wing
2023-05-17
struct_reference.go: Test multiple diagnostics on one line
Teddy Wing
2023-05-17
Add notes about false positives that should be corrected
Teddy Wing
2023-05-16
Add license (GNU GPLv3+)
Teddy Wing
2023-05-16
checkClosure: Move `funcScope` inside this function
Teddy Wing
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
[next]