Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Restore identifiers missing from hi file #741

Merged
merged 1 commit into from
Sep 18, 2020
Merged

Restore identifiers missing from hi file #741

merged 1 commit into from
Sep 18, 2020

Conversation

maralorn
Copy link
Contributor

@maralorn maralorn commented Aug 23, 2020

This fixes part of #614 by introducing a workaround for ghc droping some bindings that we still need.

Copy link
Collaborator

@pepeiborra pepeiborra left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

Looks like some compat. changes are needed for GHC <8.8. I would suggest moving fixDetailsForTH to Development.IDE.GHC.Compat and use CPP to allow for multiple implementations. You can choose to use return for the <8.8 implementation if it turns out to be too hard to fix.

@maralorn
Copy link
Contributor Author

maralorn commented Sep 1, 2020

I am sorry, that I have not looked into this further. I realized that this only one and not the TH issues I have. I will address the fixes, when I find the time.

@pepeiborra
Copy link
Collaborator

@maralorn which is the TH issue you have?

@maralorn
Copy link
Contributor Author

maralorn commented Sep 5, 2020

Well that's what I reported at #614. I have a failing testcase linked there.
It is honestly not a blocker for this PR. Because this definitely fixes a bug.

@wz1000
Copy link
Collaborator

wz1000 commented Sep 18, 2020

@maralorn can you add your failing test case here with "known broken"?

@maralorn
Copy link
Contributor Author

(I will rebase the PR when it's declared ready to merge.)

This

* fixes a part of https://github.com/digital-asset/ghcide/issues/614
  by introducing a workaround for ghc droping some bindings that we still
  need.

* Adds a regression test for this fix

* Adds a known broken test for the remaining part of the issue
@maralorn
Copy link
Contributor Author

All checks green. \o/

@wz1000
Copy link
Collaborator

wz1000 commented Sep 18, 2020

Thanks!

@wz1000 wz1000 merged commit b387bb2 into haskell:master Sep 18, 2020
@maralorn maralorn deleted the fix-th branch September 18, 2020 16:17
pepeiborra pushed a commit to pepeiborra/ghcide that referenced this pull request Oct 5, 2020
This

* fixes a part of https://github.com/digital-asset/ghcide/issues/614
  by introducing a workaround for ghc droping some bindings that we still
  need.

* Adds a regression test for this fix

* Adds a known broken test for the remaining part of the issue
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
This

* fixes a part of https://github.com/digital-asset/ghcide/issues/614
  by introducing a workaround for ghc droping some bindings that we still
  need.

* Adds a regression test for this fix

* Adds a known broken test for the remaining part of the issue
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
This

* fixes a part of https://github.com/digital-asset/ghcide/issues/614
  by introducing a workaround for ghc droping some bindings that we still
  need.

* Adds a regression test for this fix

* Adds a known broken test for the remaining part of the issue
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
This

* fixes a part of https://github.com/digital-asset/ghcide/issues/614
  by introducing a workaround for ghc droping some bindings that we still
  need.

* Adds a regression test for this fix

* Adds a known broken test for the remaining part of the issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants