Skip to content

Commit f4764b3

Browse files
author
Amritpan Kaur
committed
[CSSimplify] Attempt tryMatchRootAndValueFromType even if
missing member.
1 parent 6d08e74 commit f4764b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12191,6 +12191,7 @@ ConstraintSystem::simplifyKeyPathConstraint(
1219112191
return locator->isInKeyPathComponent() &&
1219212192
tv->getImpl().canBindToHole();
1219312193
})) {
12194+
(void)tryMatchRootAndValueFromType(keyPathTy);
1219412195
return SolutionKind::Solved;
1219512196
}
1219612197
}

0 commit comments

Comments
 (0)