Skip to content

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

Merged
rhendric merged 4 commits intomasterfrom
fix-4535
Feb 26, 2024
Merged

Fix compiler crash when a type operator is used in a type argument#4536
rhendric merged 4 commits intomasterfrom
fix-4535

Conversation

@purefunctor
Copy link
Copy Markdown
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
Copy Markdown
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