Skip to content

Conversation

eeckstein
Copy link
Contributor

This caused a problem when propagating the concrete type of an existential: if the concrete type is itself an opened existential, it was not added to the OpenedArchetypeTracker.

Original: #33742

  • Radar: rdar://problem/68077098

  • Jira: https://bugs.swift.org/browse/SR-13444

  • Explanation: This fixes a compiler crash. There are actually two separate fixes, both related to the same problem: propagating a concrete type of an existential.

  • Scope: This bug is in the compiler for a while. The problem can show up when casting from AnyClass to Any.

  • Risk: Low. Both fixes are pretty simple.

  • Reviewer: @atrick

…s to Any

This caused a problem when propagating the concrete type of an existential: if the concrete type is itself an opened existential, it was not added to the OpenedArchetypeTracker.

https://bugs.swift.org/browse/SR-13444
rdar://problem/68077098
@eeckstein eeckstein requested a review from a team as a code owner September 3, 2020 17:06
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein eeckstein added the r5.3 label Sep 3, 2020
@eeckstein eeckstein merged commit a28fd6b into swiftlang:release/5.3 Sep 3, 2020
@eeckstein eeckstein deleted the fix-sil-combine-5.3 branch September 3, 2020 20:17
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks and removed r5.3 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants