Skip to content

Uncaught TypeError: grammar.tokenizeLines is not a function #113

@jilucev

Description

@jilucev

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.27.2 x64
Electron: 1.7.15
OS: Mac OS X 10.13.5
Thrown From: goto package 1.8.3

Stack Trace

Uncaught TypeError: grammar.tokenizeLines is not a function

At /Users/jillian/.atom/packages/goto/lib/symbol-generator.coffee:20

TypeError: grammar.tokenizeLines is not a function
    at module.exports (/packages/goto/lib/symbol-generator.coffee:20:19)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/packages/goto/lib/symbol-index.coffee:157:23)
    at /packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at Object.traverseTreeSync (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/packages/goto/lib/symbol-index.coffee:111:10)
    at SymbolIndex.module.exports.SymbolIndex.update (/packages/goto/lib/symbol-index.coffee:103:8)
    at SymbolIndex.module.exports.SymbolIndex.gotoDeclaration (/packages/goto/lib/symbol-index.coffee:127:6)
    at Object.gotoDeclaration (/packages/goto/lib/index.coffee:44:22)
    at /packages/goto/lib/index.coffee:30:31)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:110:40)

Commands

     -0:30.7.0 goto:declaration (input.hidden-input)

Non-Core Packages

goto 1.8.3 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions