Skip to content

Bump ghcide submodule #395

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

Closed
wants to merge 2 commits into from
Closed

Conversation

pepeiborra
Copy link
Collaborator

To pick up the relative import path fix

@pepeiborra pepeiborra requested a review from wz1000 September 12, 2020 10:26
@pepeiborra pepeiborra force-pushed the rebase-ghcide branch 3 times, most recently from 242d5cc to 87ee28b Compare September 12, 2020 11:36
@Ailrun
Copy link
Member

Ailrun commented Sep 12, 2020

Hm...formatter test repeats a part of code for an unknown reason... :(

@alanz alanz mentioned this pull request Sep 12, 2020
Copy link
Collaborator

@wz1000 wz1000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a rebase error here

We want to generate the hie file even if errors are deferred, or we won't get hovers/definitions/etc. when there are any defered errors.

I've cleaned up the code in haskell/ghcide#784, so #396 supersedes this

@pepeiborra
Copy link
Collaborator Author

Closing in favour of #396

@pepeiborra pepeiborra closed this Sep 13, 2020
pepeiborra pushed a commit that referenced this pull request Dec 27, 2020
* Allow the withResponse handler to idiomatically return an error

An LSP response message can have either a result or an error
field. Expose this in the handler by having a return type

    type ResponseBody resp = Either ResponseError resp

Closes #395

* Apply hint to use lambdacase

* Simplify, based on @ndmitchell review feedback.

* Remove ResponseBody by inlining it, fmap some results
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.

3 participants