Skip to content

Desugar type class instance names in type class desugaring pass#4099

Merged
JordanMartinez merged 1 commit intopurescript:masterfrom
JordanMartinez:inlineTCInstanceNamesDesugaringPass
Jun 21, 2021
Merged

Desugar type class instance names in type class desugaring pass#4099
JordanMartinez merged 1 commit intopurescript:masterfrom
JordanMartinez:inlineTCInstanceNamesDesugaringPass

Conversation

@JordanMartinez
Copy link
Copy Markdown
Contributor

@JordanMartinez JordanMartinez commented Jun 2, 2021

Description of the change

This PR makes the changes I described in #4085 about inlining the type class instance name desugar pass into the type classes desugar pass. Since I assume #4096 will get merged, which would introduce merge conflicts, I built this PR on top of #4096 to better demonstrate this minor fix. See the third commit (and following if changes are requested).

Once #4096 does get merged #4096 has been merged. This PR will need to be rebased to fix the merge conflict. Until then I won't add an entry for the changelog.


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Added myself to CONTRIBUTORS.md (if this is my first contribution)
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@JordanMartinez
Copy link
Copy Markdown
Contributor Author

I took this PR, ran stack build, copied the binary into a new folder, installed the latest package set, removed all instance names and the :: character, and then compiled all libraries.

Everything compiled fine without issue. I then ran halogen-hooks' tests (hoping it pulls enough in to be worth it) and the tests built fine and passed

@JordanMartinez
Copy link
Copy Markdown
Contributor Author

I've updated this PR to build on top of master now that #4096 has been merged

@JordanMartinez JordanMartinez merged commit df37353 into purescript:master Jun 21, 2021
@JordanMartinez JordanMartinez deleted the inlineTCInstanceNamesDesugaringPass branch June 21, 2021 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants