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.
TypeBase::isArrayType()
isArray()
1 parent 8037bbc commit 479e61bCopy full SHA for 479e61b
lib/Sema/CSOptimizer.cpp
@@ -1195,7 +1195,7 @@ static void determineBestChoicesInContext(
1195
// since everything else is going to increase to score.
1196
if (options.contains(MatchFlag::Literal)) {
1197
if (isUnboundArrayType(candidateType))
1198
- return paramType->isArrayType() ? 0.3 : 0;
+ return paramType->isArray() ? 0.3 : 0;
1199
1200
if (isUnboundDictionaryType(candidateType))
1201
return cs.isDictionaryType(paramType) ? 0.3 : 0;
0 commit comments