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

Replace type variables in a single sweep during reification. #3664

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SeanTAllen
Copy link
Member

Fixes #1875

@SeanTAllen SeanTAllen marked this pull request as draft September 25, 2020 03:14
@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Sep 25, 2020
@ponylang-main
Copy link
Contributor

Hi @SeanTAllen,

The changelog - fixed label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.

Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 3664.md to match the number of this pull request.

The basic format of the release notes (using markdown) should be:

## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.

@SeanTAllen
Copy link
Member Author

@jemc I'm not at all good with the compiler. Do you have any insights on fixing the current assertion failure?

@SeanTAllen SeanTAllen added the help wanted Extra attention is needed label Sep 29, 2020
@SeanTAllen
Copy link
Member Author

@jemc ping.

Base automatically changed from master to main February 8, 2021 23:02
@SeanTAllen
Copy link
Member Author

@jemc says he remembers (he thinks) that in subtype.c there's logic to handle two types that have the same constraints, they might not be super or subtype without knowing more. For example #share. One could be val another could be tag.

Post reification we can check the val/tag in subtype.c. And there's special logic for it there. Joe's guess is that logic is know broken.

This would require someone to look into this some more. Perhaps Joe or Sean.

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 help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type error in parametrized interface.
3 participants