Skip to content

Commit 479e61b

Browse files
committed
[CSOptimizer] Adopt to removal of TypeBase::isArrayType() by switching to isArray()
1 parent 8037bbc commit 479e61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSOptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ static void determineBestChoicesInContext(
11951195
// since everything else is going to increase to score.
11961196
if (options.contains(MatchFlag::Literal)) {
11971197
if (isUnboundArrayType(candidateType))
1198-
return paramType->isArrayType() ? 0.3 : 0;
1198+
return paramType->isArray() ? 0.3 : 0;
11991199

12001200
if (isUnboundDictionaryType(candidateType))
12011201
return cs.isDictionaryType(paramType) ? 0.3 : 0;

0 commit comments

Comments
 (0)