[AST] NFC: Rename KeyPathExpr::{get, set}RootType to {get, set}ExplicitRootType

This commit is contained in:
Pavel Yaskevich
2023-11-15 15:09:53 -08:00
parent bd4ee4681b
commit 1f42585fdd
6 changed files with 11 additions and 11 deletions

View File

@@ -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())