The Swift 5 toolchain includes a regression that results in a runtime error;
failed to demangle witness for associated type ....
Abort trap: 6
This occurs when a generic type references a nested associated type that is a CF_ENUM / NS_ENUM from Foundation (or possibly another module??). The issue does not occur within Swift 4.2.
Attachment: Download
Additional Detail from JIRA
md5: 964a83a758ac083db82c1cca841cc98f
Issue Description:
The Swift 5 toolchain includes a regression that results in a runtime error;
This occurs when a generic type references a nested associated type that is a
CF_ENUM
/NS_ENUM
from Foundation (or possibly another module??). The issue does not occur within Swift 4.2.Consider the following;
CF_ENUM
results in abort Trap 6. e.g.CF_ENUM
type at least once prior e.g.The text was updated successfully, but these errors were encountered: