Skip to content

[5.1] [Sema] Bail early in exportability checker if there's no extended type #25395

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

Merged

Conversation

harlanhaskins
Copy link
Contributor

@harlanhaskins harlanhaskins commented Jun 12, 2019

I'm unable to reproduce this or figure out exactly when it happens, but in some
circumstances we might form an extension that is marked valid but that
doesn't have an extended nominal type. Add an assertion here, but don't
crash if we see one of these.

rdar://50401284

Reviewed by @jrose-apple

I'm unable to reproduce this or figure out exactly when it happens, but in some
circumstances we might form an extension that is marked valid but that
doesn't have an extended nominal type. Add an assertion here, but don't
crash if we see one of these.

rdar://50401284
@harlanhaskins
Copy link
Contributor Author

@swift-ci please smoke test

@harlanhaskins harlanhaskins changed the title [Sema] Bail early in exportability checker if there's no extended type [5.1] [Sema] Bail early in exportability checker if there's no extended type Jun 12, 2019
@harlanhaskins
Copy link
Contributor Author

@swift-ci please test

@harlanhaskins harlanhaskins merged commit aab538e into swiftlang:swift-5.1-branch Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant