aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)Author
2023-05-16checkClosure: Add function doc commentTeddy Wing
2023-05-16checkClosure: Clean up old codeTeddy Wing
2023-05-16run: Add a few explanatory commentsTeddy Wing
2023-05-16run: Clean up old codeTeddy Wing
2023-05-16Report reference-type closure argumentsTeddy Wing
2023-05-16Get arguments of closure with `funcLit.Type.Params.List`Teddy Wing
2023-05-16Try to get the arguments of the closure from `goStmt.Call.Args`Teddy Wing
2023-05-16Ignore any identifier that isn't a *types.VarTeddy Wing
2023-05-16Add notes for next things to add and fixTeddy Wing
2023-05-16Ignore variables defined in the function closureTeddy Wing
2023-05-16Use scope test to report captured variablesTeddy Wing
2023-05-16Add automated testTeddy Wing
2023-05-16Rename module to `gopkg.teddywing.com/gocapturedrefrace`Teddy Wing
2023-05-16Ideas for using scope LookupParent to check if variable is localTeddy Wing
2023-05-16Add a note for the current goalTeddy Wing
2023-05-16Find variable in outer scopesTeddy Wing
2023-05-16Add note about `(*types.Scope).LookupParent`Teddy Wing
2023-05-16Find a `pass.TypesInfo.Scopes[]` that's not nilTeddy Wing
2023-05-16Idea for getting the scope of the closureTeddy Wing
2023-05-16Add note about getting function ScopeTeddy Wing
2023-05-16Add note about (*ast.CallExpr).ArgsTeddy Wing
2023-05-16Trying to get `types.Scope` of function literalTeddy Wing
2023-05-16Print origin and scope information of closure variablesTeddy Wing
2023-05-16Use `pass.TypesInfo.Defs[ident]` to differentiate DEFINE/ASSIGNTeddy Wing
2023-05-15`(*AssignStmt).Tok` always appears to be token.DEFINETeddy Wing
2023-05-15assignmentsInFunc: Try checking `(*AssignStmt).Tok`Teddy Wing
2023-05-15Try getting `GenDecl`s in closureTeddy Wing
2023-05-15Add test for reference argumentsTeddy Wing
2023-05-15Add a new test for struct methodsTeddy Wing
2023-05-15Idea for getting variable declarations instead of assignmentsTeddy Wing
2023-05-15Get assignments in closureTeddy Wing
2023-05-15Idea for building a list of variable assignmentsTeddy Wing
2023-05-15Ignore variables from the closure's formal argumentsTeddy Wing
2023-05-15Find out how to get closure argumentsTeddy Wing
2023-05-15Ideas for finding out whether a variable is a captured referenceTeddy Wing
2023-05-15Try to limit identifier enumeration to variablesTeddy Wing
2023-05-15testdata/simple.go: Add package and function callTeddy Wing
2023-05-15testdata/simple.go: Add a local variable in closureTeddy Wing
2023-05-15testdata/simple.go: Find out what happens when var is reusedTeddy Wing
2023-05-15Find variables in `go func` closuresTeddy Wing
2023-05-14Find `go` statements using Go analyzerTeddy Wing
2023-05-13Add Idea.txtTeddy Wing