Skip to content

[NFC] Improve Nested Types Table Test#29517

Merged
swift-ci merged 1 commit into
swiftlang:masterfrom
CodaFi:nest-egg
Jan 28, 2020
Merged

[NFC] Improve Nested Types Table Test#29517
swift-ci merged 1 commit into
swiftlang:masterfrom
CodaFi:nest-egg

Conversation

@CodaFi
Copy link
Copy Markdown
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
Copy Markdown
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