Skip to content

Commit 31e46b3

Browse files
committed
[CS] Fix a locator path element
This locator is for Dictionary's Value generic parameter.
1 parent 234270c commit 31e46b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7297,7 +7297,7 @@ ConstraintSystem::simplifyBridgingConstraint(Type type1,
72977297
addExplicitConversionConstraint(fromKeyValue->second, toKeyValue->second,
72987298
ForgetChoice,
72997299
locator.withPathElement(
7300-
LocatorPathElt::GenericArgument(0)));
7300+
LocatorPathElt::GenericArgument(1)));
73017301
countOptionalInjections();
73027302
return SolutionKind::Solved;
73037303
}

0 commit comments

Comments
 (0)