Skip to content

[NFC] Improve Nested Types Table Test #29517

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
merged 1 commit into from
Jan 28, 2020
Merged

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Jan 28, 2020

To guard against the kind of complex failures seen in rdar://58690068,
improve this regression test with a copy of a shrunken version of
CocoaError.Code.

In that radar, CocoaError.Code was defined in one overlay and extended
in another translation unit. When deserialization encountered this, it
failed to search the overlay's nested type tables and fell through to
re-enter lookupDirect.

To guard against the kind of complex failures seen in rdar://58690068,
improve this regression test with a copy of a shrunken version of
CocoaError.Code.

In that radar, CocoaError.Code was defined in one overlay and extended
in another translation unit.  When deserialization encountered this, it
failed to search the overlay's nested type tables and fell through to
re-enter lookupDirect.
@CodaFi
Copy link
Contributor Author

CodaFi commented Jan 28, 2020

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit aa8d69a into swiftlang:master Jan 28, 2020
@CodaFi CodaFi deleted the nest-egg branch January 29, 2020 03:20
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.

2 participants