Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Avoid flattening arrow to type param, fixing typechecking when reified with another type param. #2692

Merged
merged 1 commit into from
May 16, 2018

Conversation

jemc
Copy link
Member

@jemc jemc commented May 10, 2018

This PR fixes a case I ran into where typechecking was broken for box->A, when A was a type parameter that gets reified with a different type parameter at the outer level.

The case is demonstrated in the example from the new new unit test.

@jemc jemc self-assigned this May 10, 2018
@jemc jemc added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label May 10, 2018
@jemc jemc merged commit 9f512ef into master May 16, 2018
@jemc jemc deleted the fix/no-flatten-arrow-typeparam branch May 16, 2018 19:41
ponylang-main added a commit that referenced this pull request May 16, 2018
dipinhora pushed a commit to dipinhora/ponyc that referenced this pull request Jun 5, 2018
dipinhora pushed a commit to dipinhora/ponyc that referenced this pull request Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants