-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error detected while processing function ghcmod#util#check_version #66
Comments
I'm having roughly the same problem
|
+1 |
+1 |
For my case, it seems like it was using the wrong version of the repo. Anyway, It looks to be fixed for me now that I've specified the branch name.
|
+1 |
same on 7e5f610 and ghc-mod ea03f8a935d82cfd4a5af58dd5be5ef6e4741dcc |
fetched 07adfa9 and applied to the HEAD; nothing changed |
‰ ghc-mod --version |
+1 ghc-mod version 0 compiled by GHC 7.10.1 Compiled from master today. |
FYI version 0 is supposed to equal to a build from master and plugins should probably disable any feature checking when version == 0. For anyone having this specific problem there's an easy fix just replace the |
@DanielG Thanks for the tips. I don't think it's reasonable to expect plugins or anyone treat version Why not simply using the odd/even numbering convention, and then have proper version on master? (I'm referring to the convention used by GHC/Cabal/... where odd number are for dev version and even for stable release, so master have a proper version and not zero) |
On Tue, May 26, 2015 at 03:56:31AM -0700, Alois Cochard wrote:
It's just as reasonable as expecting plugins to tread odd/even
I originally made that change just so I don't accidetally upload |
On 26 May 2015 at 13:28, Daniel Gröber [email protected] wrote:
Sorry if I was not clear, I did not mean to say that authors should treat I don't think asking anyone to treat any version specifically is a good
I see thanks for explaining, I can understand this can sadly happen even FWIW I'm working on a tool to automate releasing cabal libraries[1], which [1] https://github.com/aloiscochard/cabal-release —
Λ\ois |
I already built myself a script to do that: https://github.com/kazu-yamamoto/ghc-mod/blob/master/scripts/bump.sh it also keeps the elisp version in sync, forces me to update the ChangeLog and tags the resulting commit in git ;) |
Neat! Exactly the kind of stuff I would love to automate with a haskell tool :) Thanks for the inspiration Daniel! On 26 May 2015 at 13:51, Daniel Gröber [email protected] wrote:
Λ\ois |
I get this when i open new vim window and open arbitrary *.hs file:
:GhcModType
and other commands still work after this. This error happens only while opening first haskell-filetype file.:GhcModDiagnostics
output:The text was updated successfully, but these errors were encountered: