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.
1 parent 86ac641 commit 20e3699Copy full SHA for 20e3699
lib/Serialization/ModuleSummaryIndexer.cpp
@@ -112,7 +112,9 @@ void FunctionSummaryIndexer::indexUseOfType(CanType type) {
112
Mangle::ASTMangler mangler;
113
type.visit([&](Type t) {
114
if (t.getPointer()->hasArchetype() ||
115
- t.getPointer()->hasOpaqueArchetype()) {
+ t.getPointer()->hasOpaqueArchetype() ||
116
+ t.getPointer()->getKind() == TypeKind::SILBlockStorage ||
117
+ t.getPointer()->getKind() == TypeKind::SILFunction) {
118
return;
119
}
120
std::string mangled = mangler.mangleTypeWithoutPrefix(t);
0 commit comments