mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ConstraintSystem: Move key path type utilities to AST.
This commit is contained in:
@@ -79,7 +79,7 @@ swift::ide::getSelectedOverloadInfo(const Solution &S,
|
||||
fnType->getParams()[0].getPlainType()->castTo<BoundGenericType>();
|
||||
|
||||
auto *keyPathDecl = keyPathTy->getAnyNominal();
|
||||
assert(isKnownKeyPathType(keyPathTy) &&
|
||||
assert(keyPathTy->isKnownKeyPathType() &&
|
||||
"parameter is supposed to be a keypath");
|
||||
|
||||
auto KeyPathDynamicLocator = CS.getConstraintLocator(
|
||||
|
||||
Reference in New Issue
Block a user