{"action":"opened","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/1092","labels_url":"https://api.github.com/repos/manastech/crystal/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/1092/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/1092/events","html_url":"https://github.com/manastech/crystal/issues/1092","id":98620393,"number":1092,"title":"Compiler macro fails... for some reason","user":{"login":"boghison","id":7976283,"avatar_url":"https://avatars.githubusercontent.com/u/7976283?v=3","gravatar_id":"","url":"https://api.github.com/users/boghison","html_url":"https://github.com/boghison","followers_url":"https://api.github.com/users/boghison/followers","following_url":"https://api.github.com/users/boghison/following{/other_user}","gists_url":"https://api.github.com/users/boghison/gists{/gist_id}","starred_url":"https://api.github.com/users/boghison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boghison/subscriptions","organizations_url":"https://api.github.com/users/boghison/orgs","repos_url":"https://api.github.com/users/boghison/repos","events_url":"https://api.github.com/users/boghison/events{/privacy}","received_events_url":"https://api.github.com/users/boghison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-02T16:32:40Z","updated_at":"2015-08-02T16:32:40Z","closed_at":null,"body":"    Error in macro 'macro_53020640' /home/boghison/Projects/crystal/src/struct.cr:66, line 2:\r\n\r\n    1.     \r\n    2.       return false unless @kind == other.@kind\r\n    3.     \r\n    4.       return false unless @xdata == other.@xdata\r\n    5.     \r\n    6.       return false unless @data == other.@data\r\n    7.     \r\n    8.     true\r\n    9.   \r\n\r\n      return false unless @kind == other.@kind\r\n                                   ^\r\n\r\n    LibClang::CXCursor doesn't have an instance var named '@kind'\r\n\r\nThe struct does, in fact have that field. Possibly caused by `child != LibClang.clang_getNullCursor()`, where both structs are LibClang::CXCursor. Any idea why this is happening?\r\n"}}