{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/13690","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/13690/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/13690/comments","events_url":"https://api.github.com/repos/atom/atom/issues/13690/events","html_url":"https://github.com/atom/atom/issues/13690","id":202915392,"number":13690,"title":"Problem in syntax engine when `const` is function","user":{"login":"tunnckoCore","id":5038030,"avatar_url":"https://avatars.githubusercontent.com/u/5038030?v=3","gravatar_id":"","url":"https://api.github.com/users/tunnckoCore","html_url":"https://github.com/tunnckoCore","followers_url":"https://api.github.com/users/tunnckoCore/followers","following_url":"https://api.github.com/users/tunnckoCore/following{/other_user}","gists_url":"https://api.github.com/users/tunnckoCore/gists{/gist_id}","starred_url":"https://api.github.com/users/tunnckoCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunnckoCore/subscriptions","organizations_url":"https://api.github.com/users/tunnckoCore/orgs","repos_url":"https://api.github.com/users/tunnckoCore/repos","events_url":"https://api.github.com/users/tunnckoCore/events{/privacy}","received_events_url":"https://api.github.com/users/tunnckoCore/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-24T19:25:27Z","updated_at":"2017-01-24T22:00:16Z","closed_at":"2017-01-24T22:00:16Z","body":"### Prerequisites\r\n\r\nUsing `atom -d` to have access to `Inspect element`.\r\n\r\n### Description\r\n\r\nThere is a problem for styling the color of `const` when it is a function. It works when `var` or `let` are used.\r\n\r\n### Steps to Reproduce\r\n\r\nWill give you some code and screenshots to see the problem\r\n\r\n```js\r\nconst foo = (options) => Promise.resolve(options))\r\nlet foo = (options) => Promise.resolve(options))\r\n```\r\n\r\n![2017-01-24-21 27 18_1280x1024_scrot](https://cloud.githubusercontent.com/assets/5038030/22263001/9dc7cfca-e27b-11e6-9680-4b891b318b87.png)\r\n![2017-01-24-21 27 13_1280x1024_scrot](https://cloud.githubusercontent.com/assets/5038030/22263000/9dc1fcbc-e27b-11e6-9af6-f23f9328b8fa.png)\r\n\r\n### Versions\r\n\r\nrunning `atom --version`\r\n\r\n```\r\nAtom    : 1.13.0\r\nElectron: 1.4.15\r\nChrome  : 53.0.2785.143\r\nNode    : 6.5.0\r\n```\r\n\r\nrunning `apm --version`\r\n\r\n```\r\napm  1.15.2\r\nnpm  4.1.1\r\nnode 7.4.0 x64\r\npython 3.6.0\r\ngit 2.11.0\r\n```\r\n\r\nUsing ArchLinux as OS.\r\n\r\nref: https://github.com/atom-material/atom-material-syntax/pull/56#issuecomment-273538223"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/274952837","html_url":"https://github.com/atom/atom/issues/13690#issuecomment-274952837","issue_url":"https://api.github.com/repos/atom/atom/issues/13690","id":274952837,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T22:00:16Z","updated_at":"2017-01-24T22:00:16Z","body":"Please uninstall your version of Atom and reinstall from https://atom.io.  You are running an unofficial distribution that uses mismatched components for which we offer no support.  For more information, you can read our unofficial distribution policy at https://github.com/atom/design-decisions/blob/master/unofficial-atom-distributions.md and subscribe to https://bugs.archlinux.org/task/50357 for updates.\r\n\r\nLuckily for you, this is not a hard issue to diagnose - please reopen this on the [atom/language-javascript](https://github.com/atom/language-javascript) repository after you have installed an official version of Atom.  Thanks!"}}
{"actor":{"display_login":"50Wliu"}}