Skip to content
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

Fix detection of version of ghc-mod. #57

Merged
merged 1 commit into from
Oct 19, 2014
Merged

Fix detection of version of ghc-mod. #57

merged 1 commit into from
Oct 19, 2014

Conversation

ts468
Copy link
Contributor

@ts468 ts468 commented Sep 10, 2014

Fix the following error:

Error detected while processing function ghcmod#util#check_version:
line 3:
E684: list index out of range: 0
E15: Invalid expression: a:version[l:i] > l:ghc_mod_version[l:i]
E684: list index out of range: 1
E15: Invalid expression: a:version[l:i] > l:ghc_mod_version[l:i]
E684: list index out of range: 2
E15: Invalid expression: a:version[l:i] > l:ghc_mod_version[l:i]

Fix ghc-mod version detection.
cdepillabout added a commit to cdepillabout/ghcmod-vim that referenced this pull request Sep 26, 2014
This checks whether ghc-mod's version output comes on stdout or stderr.
It is like pull request eagletmt#57, but also checks for stderr.

I am seeing this error on both ghc-mod 5.0.1.2 and 4.1.6.

There is also an issue about this eagletmt#58.
eagletmt added a commit that referenced this pull request Oct 19, 2014
Fix detection of version of ghc-mod.
@eagletmt eagletmt merged commit 097d0a7 into eagletmt:master Oct 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants