Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix regression in GhcSessionDeps #2380

Merged
merged 4 commits into from
Nov 22, 2021
Merged

Fix regression in GhcSessionDeps #2380

merged 4 commits into from
Nov 22, 2021

Conversation

pepeiborra
Copy link
Collaborator

@pepeiborra pepeiborra commented Nov 21, 2021

We cannot use GetModIfaceWithoutLinkable since the session might be reused later to load a module that needs linkables

Note that this does not have any effects on performance, since GetModIfaceWithoutLinkable is just a synonym for GetModIface that removes the linkable

Fixes #2379

Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

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

many thanks for the quick fix, including regression tests

We cannot use GetModIfaceWithoutLinkable since the session might be reused later to load a module that needs linkables

Note that this does not have any effects on performance, since GetModIfaceWithoutLinkable is just a synonym for GetModIface that removes the linkable

Fixes #2379
@pepeiborra pepeiborra force-pushed the GetModWithoutLinkable branch from d01a34e to 22c411f Compare November 21, 2021 13:21
@pepeiborra pepeiborra added the merge me Label to trigger pull request merge label Nov 21, 2021
@mergify mergify bot merged commit abebf26 into master Nov 22, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HLS 1.5 does not handle TH correctly
2 participants