atsky / haskell-idea-plugin

IntelliJ IDEA plugin for Haskell
Apache License 2.0
201 stars 21 forks source link

Cannot run type check #122

Closed shengc closed 8 years ago

shengc commented 8 years ago

ghc-mod windows always shows me this,

Warning: ghc-modi is deprecated please use 'ghc-mod legacy-interactive' instead
ghc-modi: ghc-mod executable on PATH has different version, check your installation!
ghc-mod: Language/Haskell/GhcMod/Types.hs:404:10-39: No instance nor default method for class     operation put
ghc-mod: Language/Haskell/GhcMod/Types.hs:404:10-39: No instance nor default method for class operation put

I installed the plugin on Idea 14 CE on Mavericks,

shengc@shengs-mac-mini:~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.2
shengc@shengs-mac-mini:~$ ghc-mod --version
ghc-mod version 5.4.0.0 compiled by GHC 7.10.2
shengc commented 8 years ago

It is really a problem of ghc-mod itself. Fix is suggested here,

https://github.com/kazu-yamamoto/ghc-mod/issues/680