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

Sema: Fix availability of inherited designated initializers #17080

Merged

Commits on Jun 9, 2018

  1. Sema: Fix availability of inherited designated initializers

    Inherited designated initializers got the same availability
    as the corresponding initialier in the superclass.
    
    However if the superclass was more available than the subclass,
    we would generate a diagnostic that a member cannot be more
    available than its containing type.
    
    This diagnostic had an unknown source location, since the
    location was for a synthesized declaration, causing confusion.
    
    Fixes <https://bugs.swift.org/browse/SR-7881> aka
    <rdar://problem/40853731>.
    slavapestov committed Jun 9, 2018
    Configuration menu
    Copy the full SHA
    ae6c75a View commit details
    Browse the repository at this point in the history