{"action":"created","issue":{"url":"https://api.github.com/repos/ziglang/zig/issues/1124","repository_url":"https://api.github.com/repos/ziglang/zig","labels_url":"https://api.github.com/repos/ziglang/zig/issues/1124/labels{/name}","comments_url":"https://api.github.com/repos/ziglang/zig/issues/1124/comments","events_url":"https://api.github.com/repos/ziglang/zig/issues/1124/events","html_url":"https://github.com/ziglang/zig/issues/1124","id":333062374,"node_id":"MDU6SXNzdWUzMzMwNjIzNzQ=","number":1124,"title":"Cannot call methods with comptime pass-by-value self parameter","user":{"login":"Hejsil","id":3759175,"node_id":"MDQ6VXNlcjM3NTkxNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3759175?v=4","gravatar_id":"","url":"https://api.github.com/users/Hejsil","html_url":"https://github.com/Hejsil","followers_url":"https://api.github.com/users/Hejsil/followers","following_url":"https://api.github.com/users/Hejsil/following{/other_user}","gists_url":"https://api.github.com/users/Hejsil/gists{/gist_id}","starred_url":"https://api.github.com/users/Hejsil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hejsil/subscriptions","organizations_url":"https://api.github.com/users/Hejsil/orgs","repos_url":"https://api.github.com/users/Hejsil/repos","events_url":"https://api.github.com/users/Hejsil/events{/privacy}","received_events_url":"https://api.github.com/users/Hejsil/received_events","type":"User","site_admin":false},"labels":[{"id":244683519,"node_id":"MDU6TGFiZWwyNDQ2ODM1MTk=","url":"https://api.github.com/repos/ziglang/zig/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ziglang/zig/milestones/4","html_url":"https://github.com/ziglang/zig/milestone/4","labels_url":"https://api.github.com/repos/ziglang/zig/milestones/4/labels","id":2505124,"node_id":"MDk6TWlsZXN0b25lMjUwNTEyNA==","number":4,"title":"0.3.0","description":"Accept and resolve these issues, reject, or postpone them before releasing 0.3.0.","creator":{"login":"andrewrk","id":106511,"node_id":"MDQ6VXNlcjEwNjUxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/106511?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewrk","html_url":"https://github.com/andrewrk","followers_url":"https://api.github.com/users/andrewrk/followers","following_url":"https://api.github.com/users/andrewrk/following{/other_user}","gists_url":"https://api.github.com/users/andrewrk/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewrk/subscriptions","organizations_url":"https://api.github.com/users/andrewrk/orgs","repos_url":"https://api.github.com/users/andrewrk/repos","events_url":"https://api.github.com/users/andrewrk/events{/privacy}","received_events_url":"https://api.github.com/users/andrewrk/received_events","type":"User","site_admin":false},"open_issues":107,"closed_issues":74,"state":"open","created_at":"2017-05-07T16:17:21Z","updated_at":"2018-06-18T05:04:38Z","due_on":"2018-09-17T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-06-17T13:20:53Z","updated_at":"2018-06-18T13:56:13Z","closed_at":null,"author_association":"MEMBER","body":"```\r\nconst S = struct {\r\n    a: u8,\r\n\r\n    fn b(comptime s: S) u8 {\r\n        return s.a;\r\n    }\r\n};\r\n\r\ntest \"\" {\r\n    const s = S{.a = 2};\r\n    var b = s.b();\r\n}\r\n```\r\n\r\n```\r\ntest.zig:11:13: error: expected type 'S', found '*const S'\r\n    var b = s.b();\r\n```"},"comment":{"url":"https://api.github.com/repos/ziglang/zig/issues/comments/398062572","html_url":"https://github.com/ziglang/zig/issues/1124#issuecomment-398062572","issue_url":"https://api.github.com/repos/ziglang/zig/issues/1124","id":398062572,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODA2MjU3Mg==","user":{"login":"BraedonWooding","id":22880786,"node_id":"MDQ6VXNlcjIyODgwNzg2","avatar_url":"https://avatars1.githubusercontent.com/u/22880786?v=4","gravatar_id":"","url":"https://api.github.com/users/BraedonWooding","html_url":"https://github.com/BraedonWooding","followers_url":"https://api.github.com/users/BraedonWooding/followers","following_url":"https://api.github.com/users/BraedonWooding/following{/other_user}","gists_url":"https://api.github.com/users/BraedonWooding/gists{/gist_id}","starred_url":"https://api.github.com/users/BraedonWooding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BraedonWooding/subscriptions","organizations_url":"https://api.github.com/users/BraedonWooding/orgs","repos_url":"https://api.github.com/users/BraedonWooding/repos","events_url":"https://api.github.com/users/BraedonWooding/events{/privacy}","received_events_url":"https://api.github.com/users/BraedonWooding/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T13:56:13Z","updated_at":"2018-06-18T13:56:13Z","author_association":"CONTRIBUTOR","body":"Ooops sorry I missed that!"}}
{"actor":{"display_login":"BraedonWooding"}}