You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Nov 12, 2020
· 7 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
This is a known problem where the GSB treats anchors derived from covariant Self in the wrong way which produces incorrectly-minimized signatures. You can work around this by applying the Hashable constraint directly to the protocol requirement and removing the where clause, or if possible, by making the class `final`.
Thank you for the workarounds![]( I have another snippet that produces another assertion error (void swift::ArchetypeType::registerNestedType(swift::Identifier, swift::Type): Assertion found )= NestedTypes.end() && found->first == name && "Unable to find nested type?"' failed`) and goes away once I make the class final. Is it worth reporting it as a separate bug or is it likely a duplicate of this one?
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Additional Detail from JIRA
md5: 8cf6ce4d00d73c29d31cc99f8cc77747
Issue Description:
The following code makes the Swift compiler crash with an assertion error:
Output:
The text was updated successfully, but these errors were encountered: