File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -961,8 +961,8 @@ void ASTMangler::appendType(Type type) {
961
961
// Dependent members of non-generic-param types are not canonical, but
962
962
// we may still want to mangle them for debugging or indexing purposes.
963
963
appendType (DepTy->getBase ());
964
- appendAssociatedTypeName (DepTy);
965
- appendOperator (" qa " );
964
+ appendIdentifier (DepTy-> getName (). str () );
965
+ appendOperator (" Qa " );
966
966
}
967
967
addTypeSubstitution (DepTy);
968
968
return ;
Original file line number Diff line number Diff line change @@ -30,3 +30,10 @@ class CrashTest2 {
30
30
}
31
31
}
32
32
}
33
+
34
+ public struct BadCollection : Collection {
35
+ public var startIndex : Index { }
36
+ public var endIndex : Index { }
37
+ public func index( after index: Index ) -> Index { }
38
+ public subscript( position: Index ) -> Element { }
39
+ }
You can’t perform that action at this time.
0 commit comments