{"action":"closed","issue":{"url":"https://api.github.com/repos/marijnh/tern/issues/646","labels_url":"https://api.github.com/repos/marijnh/tern/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/marijnh/tern/issues/646/comments","events_url":"https://api.github.com/repos/marijnh/tern/issues/646/events","html_url":"https://github.com/marijnh/tern/issues/646","id":108213205,"number":646,"title":"ES6 Promise error","user":{"login":"sigxcpu76","id":737085,"avatar_url":"https://avatars.githubusercontent.com/u/737085?v=3","gravatar_id":"","url":"https://api.github.com/users/sigxcpu76","html_url":"https://github.com/sigxcpu76","followers_url":"https://api.github.com/users/sigxcpu76/followers","following_url":"https://api.github.com/users/sigxcpu76/following{/other_user}","gists_url":"https://api.github.com/users/sigxcpu76/gists{/gist_id}","starred_url":"https://api.github.com/users/sigxcpu76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigxcpu76/subscriptions","organizations_url":"https://api.github.com/users/sigxcpu76/orgs","repos_url":"https://api.github.com/users/sigxcpu76/repos","events_url":"https://api.github.com/users/sigxcpu76/events{/privacy}","received_events_url":"https://api.github.com/users/sigxcpu76/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-24T20:59:49Z","updated_at":"2015-09-27T17:07:40Z","closed_at":"2015-09-27T17:07:40Z","body":"It happens when the cursor is over the ```function``` keyword in ```...then(function(...```\r\n\r\nTypeError: self.hasProp is not a function at /Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/def.js:633:37 at fn.computeRet (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/def.js:257:26) at fn.computeRet (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/def.js:257:26) at fn.computeRet (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/def.js:257:26) at computeReturnType (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:1826:19) at typeFinder.CallExpression (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:1883:14) at findType (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:1917:21) at typeFinder.MemberExpression (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:1886:41) at findType (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:1917:21) at computeReturnType (/Users/sigxcpu/.atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:1817:14)\r\n\r\nI don't know what else to provide to help. The tern server is started and used by atom-ternjs plugin for Atom editor."}}