Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Fix compiler crash when a type operator is used in a type argument#4536

Merged
rhendric merged 4 commits intomasterpurescript/purescript:masterfrom
fix-4535purescript/purescript:fix-4535Copy head branch name to clipboard
Feb 26, 2024
Merged

Fix compiler crash when a type operator is used in a type argument#4536
rhendric merged 4 commits intomasterpurescript/purescript:masterfrom
fix-4535purescript/purescript:fix-4535Copy head branch name to clipboard

Conversation

@purefunctor
Copy link
Member

Description of the change

Fixes #4535. This fixes a crash in the compiler caused by a missing branch in the traversal performed during desugaring.


Checklist:

  • Added a file to CHANGELOG.d for this PR (see CHANGELOG.d/README.md)
  • 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)

Copy link
Contributor

@puffnfresh puffnfresh left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Test looks good!

@rhendric rhendric merged commit debfc2e into master Feb 26, 2024
@rhendric rhendric deleted the fix-4535 branch February 26, 2024 19:16
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.

Using an infix type alias in a type application crashes the compiler.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.