{"action":"created","issue":{"url":"https://api.github.com/repos/cquery-project/cquery/issues/630","repository_url":"https://api.github.com/repos/cquery-project/cquery","labels_url":"https://api.github.com/repos/cquery-project/cquery/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/cquery-project/cquery/issues/630/comments","events_url":"https://api.github.com/repos/cquery-project/cquery/issues/630/events","html_url":"https://github.com/cquery-project/cquery/issues/630","id":315394990,"number":630,"title":"Symbol highlighting + flycheck error","user":{"login":"innerout","id":11080614,"avatar_url":"https://avatars0.githubusercontent.com/u/11080614?v=4","gravatar_id":"","url":"https://api.github.com/users/innerout","html_url":"https://github.com/innerout","followers_url":"https://api.github.com/users/innerout/followers","following_url":"https://api.github.com/users/innerout/following{/other_user}","gists_url":"https://api.github.com/users/innerout/gists{/gist_id}","starred_url":"https://api.github.com/users/innerout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innerout/subscriptions","organizations_url":"https://api.github.com/users/innerout/orgs","repos_url":"https://api.github.com/users/innerout/repos","events_url":"https://api.github.com/users/innerout/events{/privacy}","received_events_url":"https://api.github.com/users/innerout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-04-18T09:12:50Z","updated_at":"2018-04-26T22:51:58Z","closed_at":null,"author_association":"NONE","body":"Suppose we have for example the code below to explain the error.\r\n\r\n```\r\nint main(void){\r\n    int hash;\r\n    hash = 1;\r\n    return 0;\r\n}\r\n```\r\nIf i rename the hash variable to something else like hash_value and fix the ```hash = 1``` line to match the new name sometimes it will not find that i have typed the correct name in the buffer and report unknown variable hash_valu while i have typed the variable correctly.(Wrong typing the name of the variable in the last sentence is intentional its the way cquery reports usually the wrong name)\r\nIn addition to that symbol highlighting stops working after that in the buffer and flycheck starts reporting errors in irrelevant places that have no errors.\r\nUsually the error occurs after renaming a variable.\r\nThe error happens randomly after coding some time in a session.\r\nI have Arch linux with Emacs 25.3.1 and [cquery](https://aur.archlinux.org/packages/cquery/) package from aur.\r\nI do not know if this happens in master branch the package has not been updated for 20 days in aur.\r\n"},"comment":{"url":"https://api.github.com/repos/cquery-project/cquery/issues/comments/384812812","html_url":"https://github.com/cquery-project/cquery/issues/630#issuecomment-384812812","issue_url":"https://api.github.com/repos/cquery-project/cquery/issues/630","id":384812812,"user":{"login":"innerout","id":11080614,"avatar_url":"https://avatars0.githubusercontent.com/u/11080614?v=4","gravatar_id":"","url":"https://api.github.com/users/innerout","html_url":"https://github.com/innerout","followers_url":"https://api.github.com/users/innerout/followers","following_url":"https://api.github.com/users/innerout/following{/other_user}","gists_url":"https://api.github.com/users/innerout/gists{/gist_id}","starred_url":"https://api.github.com/users/innerout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innerout/subscriptions","organizations_url":"https://api.github.com/users/innerout/orgs","repos_url":"https://api.github.com/users/innerout/repos","events_url":"https://api.github.com/users/innerout/events{/privacy}","received_events_url":"https://api.github.com/users/innerout/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T22:51:58Z","updated_at":"2018-04-26T22:51:58Z","author_association":"NONE","body":"Sorry for the delay. Thanks @acowley that made it report instantly the file in tmp.Report attached.\r\n[cquery.log](https://github.com/cquery-project/cquery/files/1953246/cquery.log)\r\n"}}
{"actor":{"display_login":"innerout"}}