This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 97
[#518] Build ghcide with GHC 8.10.1 #519
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
195e29b
[#518] Build ghcide with GHC 8.10.1
chshersh d9b790b
Move CPP logic to the Compat module
chshersh ff18d93
Revert changes to mkHieFile
pepeiborra c6969b0
Add local fork of HieAst for 8.10.1
pepeiborra 01e49b4
Ignore hlint in src-ghc810/HieAst.hs
chshersh bbe7650
Whitelist CPP for Development.IDE.GHC.Orphans
chshersh 66f494f
[#518] Build ghcide with GHC 8.10.1
chshersh 9511441
Move CPP logic to the Compat module
chshersh ac88a9c
Revert changes to mkHieFile
pepeiborra b89d6b3
Add local fork of HieAst for 8.10.1
pepeiborra 915ded0
Ignore hlint in src-ghc810/HieAst.hs
chshersh 636dcea
Whitelist CPP for Development.IDE.GHC.Orphans
chshersh 1679c72
Plugin tests known broken in 8.10.1 (#556)
pepeiborra 8821e18
Merge pull request #2 from pepeiborra/chshersh-ghc-8.10.1-pr
chshersh 4c71e83
Bump up ghc-check version
chshersh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
If this is correct, then why do we need the file in tree for 8.8 as well?
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.
This file contains the implementation of the
mkHieFile
function. This function is present in GHC 8.10. And the implementation for GHC-8.8 is based on HIE files from GHC, where the implementation of this function for GHC 8.6 is based onghcide
own reimplementation of HIE files. So there are 3 cases for this function.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 version of
mkHieFile
in GHC 8.8 was unsuitable for ghcide, so we inlined the implementation locally to fix it. After that, @mpickering yourself propagated the fix upstream, which is the reason it happily does not need to be inlined when building against GHC 8.10EDIT: oh no, it looks like the fix didn't make it into 8.10, and we still need to use the local version. I guess that complicates things a bit ...