-
Notifications
You must be signed in to change notification settings - Fork 97
Conversation
d715de7
to
9f59e80
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you! HLint is currently failing due to a redundant $
and the indentation in nameToLocation
seems off. Sadly Azure seems to have deleted the old CI logs. I’ll take a look at the test failures once we get past the hlint failures.
src/Development/IDE/Spans/AtPoint.hs
Outdated
-- | Given a 'Name' attempt to find the location where it is defined. | ||
nameToLocation :: Monad f => (Module -> f (Maybe (HieFile, String))) -> Name -> f (Maybe SrcSpan) | ||
nameToLocation getHieFile name = | ||
case nameSrcSpan name of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation here seems a bit excessive.
This has a merge conflict in |
5b02054
to
4b2325f
Compare
I have no idea how the tests work at the moment as they don't even typecheck? I fixed that and then see this log:
But the server never sends a response to the At this point, I am not going to look into it further as it seems like a deep rabbit hole not really concerned with this patch. |
4b2325f
to
c70f68d
Compare
I have fixed the tests and identified two bugs in lsp-test in the process.. |
CI is green now, this is ready to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
* Implement Goto Type Definition
* Implement Goto Type Definition
* Implement Goto Type Definition
The test fails for some reason locally but works in the editor so if someone knows how to fix it then please tell me.