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 compiler assertion failure at code generation #2099

Merged
merged 1 commit into from
Jul 29, 2017

Conversation

Praetonus
Copy link
Member

This change fixes an assertion failure that occurred when generating forwarding functions boxing non-ref tuples. The tuple AST without reference capabilities was being used, which could be a non-reachable type, resulting in an assertion failure in gen_box.

Closes #2097.

This change fixes an assertion failure that occurred when generating
forwarding functions boxing non-ref tuples. The tuple AST without
reference capabilities was being used, which could be a non-reachable
type, resulting in an assertion failure in `gen_box`.

Closes ponylang#2097.
@Praetonus Praetonus added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jul 29, 2017
@SeanTAllen
Copy link
Member

SeanTAllen commented Jul 29, 2017

@Praetonus should we do a release for this? how common is this problem? I'm thinking "yes"

@SeanTAllen SeanTAllen merged commit 7fb6c56 into ponylang:master Jul 29, 2017
ponylang-main added a commit that referenced this pull request Jul 29, 2017
@Praetonus Praetonus deleted the fix-2097 branch July 29, 2017 15:17
@Praetonus
Copy link
Member Author

@SeanTAllen I don't have any objections on a release. Maybe a minor one though, since we didn't make any breaking change since 0.16.0.

@SeanTAllen
Copy link
Member

SeanTAllen commented Jul 29, 2017

Ya seems reasonable. I'm going to hold off until we can get the bug that was reported in IRC that @autodidaddict is going to open a report for before releasing. Not sure if you have seen that @Praetonus. Its a new bug from one of your commits that went out in 0.16.0.

@SeanTAllen SeanTAllen mentioned this pull request Jul 29, 2017
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.

ANSITerm makes the compiler crash
2 participants