{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/818","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/818/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/818/events","html_url":"https://github.com/flycheck/flycheck/issues/818","id":121651444,"number":818,"title":"Elisp checker doesn't identify variable in macro","user":{"login":"jschaf","id":22385,"avatar_url":"https://avatars.githubusercontent.com/u/22385?v=3","gravatar_id":"","url":"https://api.github.com/users/jschaf","html_url":"https://github.com/jschaf","followers_url":"https://api.github.com/users/jschaf/followers","following_url":"https://api.github.com/users/jschaf/following{/other_user}","gists_url":"https://api.github.com/users/jschaf/gists{/gist_id}","starred_url":"https://api.github.com/users/jschaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschaf/subscriptions","organizations_url":"https://api.github.com/users/jschaf/orgs","repos_url":"https://api.github.com/users/jschaf/repos","events_url":"https://api.github.com/users/jschaf/events{/privacy}","received_events_url":"https://api.github.com/users/jschaf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-11T07:02:42Z","updated_at":"2015-12-11T12:37:58Z","closed_at":"2015-12-11T12:37:58Z","body":"At `(my-macro)` flycheck gives the following error:\r\n\r\n`Symbol's value as variable is void: my-var`\r\n\r\nThe byte-compiler does not show an error.\r\n\r\n```emacs-lisp\r\n;;; bug.el --- bug\r\n\r\n;;; Commentary:\r\n;;\r\n\r\n;;; Code:\r\n\r\n(defvar my-var nil)\r\n\r\n(defmacro my-macro ()\r\n  \"Macro.\"\r\n  my-var)\r\n\r\n(my-macro)\r\n\r\n\r\n(provide 'bug)\r\n;;; bug.el ends here\r\n```"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/163928223","html_url":"https://github.com/flycheck/flycheck/issues/818#issuecomment-163928223","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/818","id":163928223,"user":{"login":"cpitclaudel","id":8181630,"avatar_url":"https://avatars.githubusercontent.com/u/8181630?v=3","gravatar_id":"","url":"https://api.github.com/users/cpitclaudel","html_url":"https://github.com/cpitclaudel","followers_url":"https://api.github.com/users/cpitclaudel/followers","following_url":"https://api.github.com/users/cpitclaudel/following{/other_user}","gists_url":"https://api.github.com/users/cpitclaudel/gists{/gist_id}","starred_url":"https://api.github.com/users/cpitclaudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpitclaudel/subscriptions","organizations_url":"https://api.github.com/users/cpitclaudel/orgs","repos_url":"https://api.github.com/users/cpitclaudel/repos","events_url":"https://api.github.com/users/cpitclaudel/events{/privacy}","received_events_url":"https://api.github.com/users/cpitclaudel/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T12:37:58Z","updated_at":"2015-12-11T12:37:58Z","body":"This is not a Flycheck bug: `byte-compile-file` produces the same output. Or did I misunderstand something?"}}