{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":642471510,"defaultBranch":"master","name":"gocapturedrefrace","ownerLogin":"teddywing","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-05-18T16:34:32.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/342964?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1710087180.0","currentOid":""},"activityList":{"items":[{"before":"b1b311caf11e9e88ef5735dc4e5512dcd4725059","after":null,"ref":"refs/heads/fix-analysis-for-Go-1.22","pushedAt":"2024-03-10T16:13:00.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"}},{"before":"9aa2dfef38d08ba5a101a7c1b01fecbb1cec240d","after":"50d5b0becd6d2e98975afa6cb319bfce11af3da9","ref":"refs/heads/master","pushedAt":"2024-03-10T15:33:02.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"},"commit":{"message":"Increase version v0.0.1 -> v0.0.2","shortMessageHtmlLink":"Increase version v0.0.1 -> v0.0.2"}},{"before":null,"after":"b1b311caf11e9e88ef5735dc4e5512dcd4725059","ref":"refs/heads/fix-analysis-for-Go-1.22","pushedAt":"2024-03-09T20:25:24.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"},"commit":{"message":"Fiddle with `pos` in `funcScope.LookupParent` for Go 1.22 breakage\n\nFirst I tried changing `funcScope.LookupParent` to use the starting\nbrace (\"{\") of the function, but that didn't work for redeclarations:\n\n $ go test -v\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:38:6: unexpected diagnostic: captured reference err in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:39:14: unexpected diagnostic: captured reference err in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:47:3: unexpected diagnostic: captured reference err in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:48:6: unexpected diagnostic: captured reference err in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:49:14: unexpected diagnostic: captured reference err in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:66:3: unexpected diagnostic: captured reference err1 in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:67:3: unexpected diagnostic: captured reference err2 in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:68:6: unexpected diagnostic: captured reference err1 in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:68:21: unexpected diagnostic: captured reference err2 in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:69:14: unexpected diagnostic: captured reference err1 in goroutine closure\n analysistest.go:522: gocapturedrefrace/testdata/shadow.go:69:20: unexpected diagnostic: captured reference err2 in goroutine closure\n --- FAIL: Test (0.43s)\n\nThe commit that breaks the analyzer says:\n\n> Previously, its value was unset (NoPos), but the correct\n> value is a point after the signature (FuncType.End) and\n> before the body.\n\n(https://github.com/golang/go/commit/a27a525d1b4df74989ac9f6ad10394391fe3eb88)\n\nRecalling that, I tried setting the position to `token.NoPos`, which\nfixes the analyser and allows the tests to pass.","shortMessageHtmlLink":"Fiddle with pos in funcScope.LookupParent for Go 1.22 breakage"}},{"before":"d0d16dd47debff2997efc1028cec6532dcf30637","after":"9aa2dfef38d08ba5a101a7c1b01fecbb1cec240d","ref":"refs/heads/master","pushedAt":"2023-05-20T17:06:50.539Z","pushType":"push","commitsCount":1,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"},"commit":{"message":"README: Add documentation link","shortMessageHtmlLink":"README: Add documentation link"}},{"before":"76bf9fff912ec210a8aff9ab1e2f80edc42ac2f2","after":"d0d16dd47debff2997efc1028cec6532dcf30637","ref":"refs/heads/master","pushedAt":"2023-05-20T15:34:15.742Z","pushType":"push","commitsCount":9,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"},"commit":{"message":"Clarify why we skip non-local functions","shortMessageHtmlLink":"Clarify why we skip non-local functions"}},{"before":"c7961b9ea42c967131f67cbd48fe759b333220e1","after":"76bf9fff912ec210a8aff9ab1e2f80edc42ac2f2","ref":"refs/heads/master","pushedAt":"2023-05-18T16:55:36.590Z","pushType":"push","commitsCount":1,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"},"commit":{"message":"README: Add install instructions","shortMessageHtmlLink":"README: Add install instructions"}},{"before":null,"after":"c7961b9ea42c967131f67cbd48fe759b333220e1","ref":"refs/heads/master","pushedAt":"2023-05-18T16:40:08.720Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"teddywing","name":null,"path":"/teddywing","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/342964?s=80&v=4"},"commit":{"message":"Add README","shortMessageHtmlLink":"Add README"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEEYyT1QA","startCursor":null,"endCursor":null}},"title":"Activity ยท teddywing/gocapturedrefrace"}