Closed nightuser closed 8 years ago
I'm having the same problem and was about to create an issue. I'm on OS X too, and have my dependencies installed with Cabal.
Thank you for reporting. Should be fixed in haskell-ghc-mod v1.9.1
Hi, I still get this error with haskell-ghc-mod v1.9.1 when I select a type signature.
Actually it happens whenever I select any text at all.
Working on that.
Okay, should be good now with ide-haskell 1.5.1. Sorry about that.
I just got this same error
@zachbpd, could you post stack trace?
at /Users/Andra/.atom/packages/ide-haskell/lib/upi.coffee:132
TypeError: Cannot read property 'then' of undefined
at /Users/Andra/.atom/packages/ide-haskell/lib/upi.coffee:132:22
at UPIInstance.withEventRange (/Users/Andra/.atom/packages/ide-haskell/lib/upi.coffee:209:5)
at UPIInstance.showTooltip (/Users/Andra/.atom/packages/ide-haskell/lib/upi.coffee:131:6)
at /Users/Andra/.atom/packages/ide-haskell/lib/upi.coffee:112:8
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at /Users/Andra/.atom/packages/ide-haskell/lib/plugin-manager.coffee:73:18
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at EditorControl.shouldShowTooltip (/Users/Andra/.atom/packages/ide-haskell/lib/editor-control.coffee:130:16)
at /Users/Andra/.atom/packages/ide-haskell/lib/editor-control.coffee:71:39
Okay... Please update ide-haskell. This quite literally can not happen with v1.5.1, unless I'm an idiot.
sorted, thanks :)
Works great now, thank you!
Hello.
I'm getting this error when saving my .hs files. Everything was installed via stack lts-5.4.
Atom Version: 1.5.3 System: Ubuntu 14.04.4 Thrown From: ide-haskell package, v1.5.0
Stack Trace
Uncaught TypeError: Cannot read property 'then' of undefined
Commands
Config
Installed Packages