We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c23af5f + 6d96d8f commit c654ad4Copy full SHA for c654ad4
test/Runtime/associated_type_demangle_private.swift
@@ -101,14 +101,9 @@ private struct Parent<Unused> {
101
102
AssociatedTypeDemangleTests.test("nested private generic types in associated type witnesses") {
103
// Fixed in Swift 5.1+ runtimes.
104
- if #available(SwiftStdlib 5.1, *) {}
105
- // Bug is still present in Swift 5.0 runtime.
106
- else {
107
- expectCrashLater(withMessage: "failed to demangle witness for associated type 'Second' in conformance")
108
- return
+ if #available(SwiftStdlib 5.1, *) {
+ _ = Parent<Never>.Nested(first: "String", second: 0).pair
109
}
110
-
111
- _ = Parent<Never>.Nested(first: "String", second: 0).pair
112
113
114
0 commit comments