aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)Author
2023-05-18Add test for shadowing declarationTeddy Wing
2023-05-18Clean up checkShadowingTeddy Wing
2023-05-18Ignore shadowed variablesTeddy Wing
2023-05-18Create a new plan for checking shadowingTeddy Wing
2023-05-18Try to ignore shadowed assignmentsTeddy Wing
2023-05-18Find shadowed variable assignmentsTeddy Wing
2023-05-17Separate `isVariableTypeSignature` conditionTeddy Wing
2023-05-17Add test for shadowingTeddy Wing
2023-05-17Ignore captured variables containing functionsTeddy Wing
2023-05-17function_argument: Add a test for local function variablesTeddy Wing
2023-05-17Add test for function argumentsTeddy Wing
2023-05-17Add note for package documentationTeddy Wing
2023-05-17Add note for version flagTeddy Wing
2023-05-17struct_reference.go: Test multiple diagnostics on one lineTeddy Wing
2023-05-17Add notes about false positives that should be correctedTeddy Wing
2023-05-16Add license (GNU GPLv3+)Teddy Wing
2023-05-16checkClosure: Move `funcScope` inside this functionTeddy Wing
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