{"action":"created","issue":{"url":"https://api.github.com/repos/estools/escope/issues/49","labels_url":"https://api.github.com/repos/estools/escope/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/estools/escope/issues/49/comments","events_url":"https://api.github.com/repos/estools/escope/issues/49/events","html_url":"https://github.com/estools/escope/issues/49","id":60236713,"number":49,"title":"Misses class references","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/estools/escope/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-08T02:09:09Z","updated_at":"2015-03-08T16:39:53Z","closed_at":null,"body":"The 2.0.5 version misses references to classes, such as:\r\n\r\n```js\r\nclass Shoe {\r\n  constructor() {\r\n    //Shoe.x = true;\r\n  }\r\n}\r\nlet s = new Shoe();\r\n```\r\n\r\nescope fails to identify `new Shoe()` as a reference. "},"comment":{"url":"https://api.github.com/repos/estools/escope/issues/comments/77759938","html_url":"https://github.com/estools/escope/issues/49#issuecomment-77759938","issue_url":"https://api.github.com/repos/estools/escope/issues/49","id":77759938,"user":{"login":"michaelficarra","id":218840,"avatar_url":"https://avatars.githubusercontent.com/u/218840?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelficarra","html_url":"https://github.com/michaelficarra","followers_url":"https://api.github.com/users/michaelficarra/followers","following_url":"https://api.github.com/users/michaelficarra/following{/other_user}","gists_url":"https://api.github.com/users/michaelficarra/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelficarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelficarra/subscriptions","organizations_url":"https://api.github.com/users/michaelficarra/orgs","repos_url":"https://api.github.com/users/michaelficarra/repos","events_url":"https://api.github.com/users/michaelficarra/events{/privacy}","received_events_url":"https://api.github.com/users/michaelficarra/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T16:39:53Z","updated_at":"2015-03-08T16:39:53Z","body":"@Constellation Top-level block bindings (`let`, `class`, etc.) should be added to a child scope of the global scope. This scope is not dynamic and should be able to statically resolve references."}}