[CSFix] NFC: Fix a typo orRValueBase -> onRValueBase

This commit is contained in:
Pavel Yaskevich
2019-07-09 10:14:34 -07:00
parent 24048262dd
commit 0316bb1cce
3 changed files with 11 additions and 11 deletions

View File

@@ -4763,7 +4763,7 @@ fixMemberRef(ConstraintSystem &cs, Type baseTy,
case MemberLookupResult::UR_MutatingMemberOnRValue:
case MemberLookupResult::UR_MutatingGetterOnRValue: {
return choice.isDecl()
? AllowMutatingMemberOrRValueBase::create(
? AllowMutatingMemberOnRValueBase::create(
cs, baseTy, choice.getDecl(), memberName, locator)
: nullptr;
}
@@ -6935,7 +6935,7 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyFixConstraint(
case FixKind::AllowInvalidRefInKeyPath:
case FixKind::ExplicitlySpecifyGenericArguments:
case FixKind::GenericArgumentsMismatch:
case FixKind::AllowMutatingMemberOrRValueBase:
case FixKind::AllowMutatingMemberOnRValueBase:
llvm_unreachable("handled elsewhere");
}