mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add CanBoundGenericType::getGenericArgs().
Swift SVN r8329
This commit is contained in:
@@ -561,8 +561,8 @@ void Mangler::mangleType(CanType type, ExplosionKind explosion,
|
||||
auto boundType = cast<BoundGenericType>(type);
|
||||
Buffer << 'G';
|
||||
mangleNominalType(boundType->getDecl(), explosion);
|
||||
for (auto arg : boundType->getGenericArgs()) {
|
||||
mangleType(CanType(arg), ExplosionKind::Minimal, /*uncurry*/ 0);
|
||||
for (auto arg : boundType.getGenericArgs()) {
|
||||
mangleType(arg, ExplosionKind::Minimal, /*uncurry*/ 0);
|
||||
}
|
||||
Buffer << '_';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user