mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CSFix] NFC: Fix a typo orRValueBase -> onRValueBase
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user