Skip to content

Instantly share code, notes, and snippets.

@alicewriteswrongs
Created July 18, 2016 20:37
Show Gist options
  • Save alicewriteswrongs/7e61da3faf40d23e921cc0ca267c6e11 to your computer and use it in GitHub Desktop.
Save alicewriteswrongs/7e61da3faf40d23e921cc0ca267c6e11 to your computer and use it in GitHub Desktop.
/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/tern/lib/infer.js:1056
if (node.type == "Identifier") return node.name
^
TypeError: Cannot read property 'type' of null
at patternName (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/tern/lib/infer.js:1056:13)
at Array.map (native)
at patternName (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/tern/lib/infer.js:1059:65)
at Object.exports.scopeGatherer.walk.make.Function (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/tern/lib/infer.js:1095:23)
at c (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/acorn/dist/walk.js:68:35)
at Object.base.FunctionDeclaration (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/acorn/dist/walk.js:246:10)
at c (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/acorn/dist/walk.js:68:35)
at Object.skipThrough (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/acorn/dist/walk.js:169:3)
at c (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/acorn/dist/walk.js:68:35)
at Object.base.NewExpression.base.CallExpression (/home/alice/.vim/bundle/youcompleteme/third_party/ycmd/third_party/tern_runtime/node_modules/acorn/dist/walk.js:331:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment