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

Restore identifiers missing from hi file - #741

Merged
wz1000 merged 1 commit into
haskell:masterfrom
maralorn:fix-th
Sep 18, 2020
Merged

wz1000 merged 1 commit into
haskell:masterfrom
maralorn:fix-th

Conversation

@maralorn

@maralorn maralorn commented Aug 23, 2020 •

Copy link
Copy Markdown
Contributor

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

@pepeiborra pepeiborra left a comment

Copy link
Copy Markdown
Collaborator

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

maralorn commented Sep 1, 2020

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Collaborator

@maralorn which is the TH issue you have?

@maralorn

maralorn commented Sep 5, 2020

Copy link
Copy Markdown
Contributor Author

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

wz1000 commented Sep 18, 2020

Copy link
Copy Markdown
Collaborator

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

@maralorn

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

All checks green. \o/

@wz1000

wz1000 commented Sep 18, 2020

Copy link
Copy Markdown
Collaborator

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