atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

Linter error: Missing html/text field on Linter Response #124

Closed cblp closed 8 years ago

cblp commented 8 years ago

When switch on "Use Linter" option, I get only

Error: Missing html/text field on Linter Response
    at ~/.atom/packages/linter/lib/validate.coffee:40:19
    at Array.forEach (native)
    at Object.module.exports.Validate.messages (~/.atom/packages/linter/lib/validate.coffee:27:14)
    at MessageRegistry.set (~/.atom/packages/linter/lib/message-registry.js:36:16)
    at ~/.atom/packages/linter/lib/linter.coffee:37:17
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at ~/.atom/packages/linter/lib/linter-registry.js:66:26
    at process._tickCallback (node.js:368:9)

atom 1.5.3

haskell-ghc-mod@1.10.1
ide-haskell@1.5.3
ide-haskell-stack@0.0.3
language-haskell@1.7.2
linter@1.11.3
linter-hlint@0.4.3
linter-pylint@1.2.0
lierdakil commented 8 years ago

Can't reproduce. Does it happen on everything?

cblp commented 8 years ago

I updated haskell-ghc-mod plugin, now this problem has gone.

lierdakil commented 8 years ago

Probably compilation error. Usually reinstalling package helps in these cases.