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

Properly report type parameter capability errors #2598

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

Praetonus
Copy link
Member

Specifying an incorrect capability on a type parameter should result in a compiler error. The previous implementation of the associated check was incorrect and never resulted in an error (but the correct capability was being set.)

Specifying an incorrect capability on a type parameter should result in
a compiler error. The previous implementation of the associated check
was incorrect and never resulted in an error (but the correct
capability was being set.)
@jemc jemc added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Mar 21, 2018
@jemc jemc merged commit 2e658bc into ponylang:master Mar 21, 2018
ponylang-main added a commit that referenced this pull request Mar 21, 2018
dipinhora pushed a commit to dipinhora/ponyc that referenced this pull request Jun 5, 2018
Specifying an incorrect capability on a type parameter should result in
a compiler error. The previous implementation of the associated check
was incorrect and never resulted in an error (but the correct
capability was being set.)
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