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 340d4d2 commit a3a4d4eCopy full SHA for a3a4d4e
lib/TBDGen/TBDGen.cpp
@@ -224,7 +224,7 @@ void TBDGenVisitor::visitAbstractFunctionDecl(AbstractFunctionDecl *AFD) {
224
// call site.
225
auto index = 0;
226
for (auto *param : *AFD->getParameters()) {
227
- if (param->getDefaultValue())
+ if (param->isDefaultArgument())
228
addSymbol(SILDeclRef::getDefaultArgGenerator(AFD, index));
229
index++;
230
}
0 commit comments