Skip to content

Commit e8425bf

Browse files
author
Amritpan Kaur
committed
[CSGen] Update LocatorPathElt::KeyPathType usage.
1 parent 1384ff0 commit e8425bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3822,7 +3822,7 @@ namespace {
38223822
// The type of key path depends on the overloads chosen for the key
38233823
// path components.
38243824
auto typeLoc =
3825-
CS.getConstraintLocator(locator, LocatorPathElt::KeyPathType(value));
3825+
CS.getConstraintLocator(locator, LocatorPathElt::KeyPathType());
38263826

38273827
Type kpTy = CS.createTypeVariable(typeLoc, TVO_CanBindToNoEscape |
38283828
TVO_CanBindToHole);

0 commit comments

Comments
 (0)