{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":775784888,"defaultBranch":"main","name":"nilaway","ownerLogin":"ZhongsJie","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-03-22T03:12:17.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/62382570?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1716953423.0","currentOid":""},"activityList":{"items":[{"before":"8c8bb2970c6249c17ee26c048c461f0333c1ba7f","after":"715798747ba65b65f99eab6049f520f81ea5e7af","ref":"refs/heads/main","pushedAt":"2024-05-29T03:30:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"Feat: xxx","shortMessageHtmlLink":"Feat: xxx"}},{"before":"371683f307818a7de5747f5dc44654e08e6c519d","after":"8c8bb2970c6249c17ee26c048c461f0333c1ba7f","ref":"refs/heads/main","pushedAt":"2024-04-23T06:41:58.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"Fix consequent map access (with literal index) (#228)\n\nThis PR fixes the false positive reported for consequent map accesses as\r\nshown in the example below.\r\n```\r\nif _, ok := mp[0]; !ok {\r\n\tmp[0] = new(int)\r\n}\r\n_ = *mp[0] // False positive was reported here\r\n```\r\n\r\nThe PR extends the logic for applying guarding behavior to children\r\nassertion nodes. In the map access case, it means extending the handling\r\nto `indexAssertionNode` `mp[0]`, which appears as the child of\r\n`varAssertionNode` `mp` in the assertion tree. Before this PR, NilAway\r\nassumed the use ok-form for map access (`v, ok := mp[0]`), and hence was\r\nonly applying the guarding behavior to only the topmost node,\r\n`varAssertion` `v` in this case.\r\n\r\n(Note that this PR can currently only support literal indices. Support\r\nfor non-literal indices is coming soon.)","shortMessageHtmlLink":"Fix consequent map access (with literal index) (uber-go#228)"}},{"before":"4274d9b756fcc7f2677e526a6508a28e1fd2d92f","after":"371683f307818a7de5747f5dc44654e08e6c519d","ref":"refs/heads/main","pushedAt":"2024-04-23T06:41:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"Fix for loop range handling of basic types and test refactoring (#223)\n\n[Go 1.22](https://tip.golang.org/doc/go1.22) now allows ranging over\r\nintegers. NilAway was not handling this correctly and throwing a panic.\r\nThis PR fixes that problem. I also took the opportunity to create a new\r\n`looprange` test file that now hosts all the range related test cases\r\npulled in from other files and new test cases for checking the support\r\nfor basic types.\r\n\r\n[closes #221 ]","shortMessageHtmlLink":"Fix for loop range handling of basic types and test refactoring (uber…"}},{"before":"18a5c9cd538c17f95c4cb5e1f4dec3143a2a296d","after":"4274d9b756fcc7f2677e526a6508a28e1fd2d92f","ref":"refs/heads/main","pushedAt":"2024-04-23T06:40:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"Create go.yml","shortMessageHtmlLink":"Create go.yml"}},{"before":"371683f307818a7de5747f5dc44654e08e6c519d","after":null,"ref":"refs/tags/v1.0.0","pushedAt":"2024-04-23T06:29:24.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"}},{"before":"805bc0e6f4d2d9be4e009f7d7245d3854a6c1ca1","after":"18a5c9cd538c17f95c4cb5e1f4dec3143a2a296d","ref":"refs/heads/main","pushedAt":"2024-03-24T13:10:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"doc: modify go.mod","shortMessageHtmlLink":"doc: modify go.mod"}},{"before":"5880472426c7d22fb80c6998234973e4da2881df","after":"805bc0e6f4d2d9be4e009f7d7245d3854a6c1ca1","ref":"refs/heads/main","pushedAt":"2024-03-22T08:39:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"doc: modify go.mod","shortMessageHtmlLink":"doc: modify go.mod"}},{"before":"af0b9210f7a4759c4381a5c4725a69af6250568f","after":"5880472426c7d22fb80c6998234973e4da2881df","ref":"refs/heads/main","pushedAt":"2024-03-22T08:20:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"doc: modify go.mod","shortMessageHtmlLink":"doc: modify go.mod"}},{"before":"371683f307818a7de5747f5dc44654e08e6c519d","after":"af0b9210f7a4759c4381a5c4725a69af6250568f","ref":"refs/heads/main","pushedAt":"2024-03-22T07:45:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ZhongsJie","name":"ZhongsJie","path":"/ZhongsJie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62382570?s=80&v=4"},"commit":{"message":"doc: modify go.mod","shortMessageHtmlLink":"doc: modify go.mod"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEVnvzuQA","startCursor":null,"endCursor":null}},"title":"Activity · ZhongsJie/nilaway"}