mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] NFC: Rename KeyPathExpr::{get, set}RootType to {get, set}ExplicitRootType
This commit is contained in:
@@ -3732,7 +3732,7 @@ namespace {
|
||||
TVO_CanBindToHole);
|
||||
|
||||
// If a root type was explicitly given, then resolve it now.
|
||||
if (auto rootRepr = E->getRootType()) {
|
||||
if (auto rootRepr = E->getExplicitRootType()) {
|
||||
const auto rootObjectTy = resolveTypeReferenceInExpression(
|
||||
rootRepr, TypeResolverContext::InExpression, locator);
|
||||
if (!rootObjectTy || rootObjectTy->hasError())
|
||||
|
||||
Reference in New Issue
Block a user