This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Support for Pattern Synonyms #1152
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please don't merge as is, let's wait if haskell/lsp#143 gets merged.
The thing is that when used on modules that have pattern synonym declarations, hie kept crashing due to
error
call at line 693 of src/Haskell/Ide/Engine/Plugin/GhcMod.hs file. I have fixed this, but it required to introduce a new SymbolKind inhaskell-lsp
package.This pull request reflects current state of things including referencing my forked version of
haskell-lsp
. Once required changes tohaskell-lsp
get released, I'm going to update this pull request and remove my fork reference.Meanwhile if there are problems with an approach I've taken, I have plenty of time to fix them.