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

Fix unsafe cases in capability subtyping implementation #2660

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

Praetonus
Copy link
Member

@Praetonus Praetonus commented Apr 19, 2018

This fixes a bug in the capability subtyping implementation where capabilities were being treated as subtypes of themselves, and adds exhaustive tests for capability subtyping.

Closes #2601.

@Praetonus Praetonus added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Apr 19, 2018
This fixes a bug in the capability subtyping implementation where
capabilities were being treated as subtypes of themselves, and adds
exhaustive tests for capability subtyping.
@Praetonus Praetonus added needs discussion during sync do not merge This PR should not be merged at this time labels Apr 21, 2018
@SeanTAllen
Copy link
Member

SeanTAllen commented Jun 20, 2018

@Praetonus why is this marked as do not merge? @sylvanc took a look during sync and this looks good to him.

@jemc
Copy link
Member

jemc commented Nov 6, 2018

@Praetonus - any update on this one? If it looks good to others, should we continue?

@Praetonus
Copy link
Member Author

This should be good to go.

@jemc jemc removed do not merge This PR should not be merged at this time stale labels Nov 7, 2018
@jemc jemc merged commit 8526065 into ponylang:master Nov 7, 2018
ponylang-main added a commit that referenced this pull request Nov 7, 2018
@jemc
Copy link
Member

jemc commented Nov 7, 2018

Thanks!

@Praetonus Praetonus deleted the fix-cap-subtype branch November 8, 2018 05:04
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.

is_cap_sub_cap doesn't do what the documentation says it does
3 participants