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 tuple related compiler segfaults #3723

Merged
merged 2 commits into from
Feb 27, 2021

Commits on Feb 26, 2021

  1. Don't assume that method bodies produce the correct tuple type already

    It's possible that the method body returns a subtype of the return type.
    For example, a return value with type `((U32, U32) | (U32, None))` is
    legal for a method with return type `(U32, (U32 | None))`, but it
    requires a cast.
    
    Fixes ponylang#2609, ponylang#2808
    Trundle committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    7e03a8b View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2021

  1. Add release notes

    SeanTAllen committed Feb 27, 2021
    Configuration menu
    Copy the full SHA
    41c08d0 View commit details
    Browse the repository at this point in the history