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

simplify things unnecessarily running in GhcM #875

Merged
merged 3 commits into from
Oct 23, 2020
Merged

Conversation

wz1000
Copy link
Collaborator

@wz1000 wz1000 commented Oct 19, 2020

Most of the times we don't need to mutate the HscEnv, so we don't need to store it in an IORef. The few times we do, it is better to be explicit, instead of risking implicitly throwing away changes by using evalGhcEnv.

@pepeiborra
Copy link
Collaborator

I fully agree with the sentiment but just don't have the energy to review right now

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.

@wz1000 wz1000 merged commit d76fbf9 into haskell:master Oct 23, 2020
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
* simplify things unnecessarily running in GhcM

* untick catchSrcErrors

* set useUnicode
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
* simplify things unnecessarily running in GhcM

* untick catchSrcErrors

* set useUnicode
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
* simplify things unnecessarily running in GhcM

* untick catchSrcErrors

* set useUnicode
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.

2 participants