{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/5365","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/5365/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/5365/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/5365/events","html_url":"https://github.com/crystal-lang/crystal/issues/5365","id":280442013,"number":5365,"title":"+= operator doesn't work for pointer.value","user":{"login":"chenkovsky","id":6762133,"avatar_url":"https://avatars0.githubusercontent.com/u/6762133?v=4","gravatar_id":"","url":"https://api.github.com/users/chenkovsky","html_url":"https://github.com/chenkovsky","followers_url":"https://api.github.com/users/chenkovsky/followers","following_url":"https://api.github.com/users/chenkovsky/following{/other_user}","gists_url":"https://api.github.com/users/chenkovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/chenkovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenkovsky/subscriptions","organizations_url":"https://api.github.com/users/chenkovsky/orgs","repos_url":"https://api.github.com/users/chenkovsky/repos","events_url":"https://api.github.com/users/chenkovsky/events{/privacy}","received_events_url":"https://api.github.com/users/chenkovsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-08T10:26:11Z","updated_at":"2017-12-08T12:58:07Z","closed_at":null,"author_association":"NONE","body":"```crystal\r\nstruct A\r\n  @b : Int32\r\n\r\n  def initialize(@b)\r\n  end\r\n\r\n  def b=(x)\r\n    @b = x\r\n  end\r\n\r\n  def b\r\n    @b\r\n  end\r\nend\r\n\r\na = A.new 0\r\na.b += 1\r\nputs a.b\r\nap = pointerof(a)\r\nap.value.b += 1\r\nputs a.b\r\nap.value.b = ap.value.b + 1\r\nputs a.b\r\n```\r\n\r\noutput\r\n```\r\n1\r\n1\r\n2\r\n```"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/350257127","html_url":"https://github.com/crystal-lang/crystal/issues/5365#issuecomment-350257127","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/5365","id":350257127,"user":{"login":"RX14","id":2788811,"avatar_url":"https://avatars0.githubusercontent.com/u/2788811?v=4","gravatar_id":"","url":"https://api.github.com/users/RX14","html_url":"https://github.com/RX14","followers_url":"https://api.github.com/users/RX14/followers","following_url":"https://api.github.com/users/RX14/following{/other_user}","gists_url":"https://api.github.com/users/RX14/gists{/gist_id}","starred_url":"https://api.github.com/users/RX14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RX14/subscriptions","organizations_url":"https://api.github.com/users/RX14/orgs","repos_url":"https://api.github.com/users/RX14/repos","events_url":"https://api.github.com/users/RX14/events{/privacy}","received_events_url":"https://api.github.com/users/RX14/received_events","type":"User","site_admin":false},"created_at":"2017-12-08T12:58:07Z","updated_at":"2017-12-08T12:58:07Z","author_association":"MEMBER","body":"This is basically a duplicate of https://github.com/crystal-lang/crystal/issues/4933."}}
{"actor":{"display_login":"RX14"}}