Skip to content

Commit 8037bbc

Browse files
committed
[CSOptimizer] NFC: Adopt to changes in getParameterList() API
1 parent eb78e27 commit 8037bbc

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
@@ -287,7 +287,7 @@ static bool isSupportedGenericOverloadChoice(ValueDecl *decl,
287287
// that use only concrete types or generic parameters directly
288288
// in their parameter positions i.e. `(T, Int)`.
289289

290-
auto *paramList = getParameterList(decl);
290+
auto *paramList = decl->getParameterList();
291291
if (!paramList)
292292
return false;
293293

0 commit comments

Comments
 (0)