mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Silence a warning.
Swift SVN r10563
This commit is contained in:
@@ -798,7 +798,7 @@ static CanSILFunctionType buildThunkType(SILGenFunction &gen,
|
||||
auto generics = gen.F.getLoweredFunctionType()->getGenericParams();
|
||||
if (generics) {
|
||||
for (auto archetype : generics->getAllArchetypes())
|
||||
subs.push_back({ archetype, archetype});
|
||||
subs.push_back({ archetype, archetype, { }});
|
||||
}
|
||||
|
||||
// Add the function type as the parameter.
|
||||
|
||||
Reference in New Issue
Block a user