mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename array upcast/bridge expressions to "collection".
This is staging for dictionary bridging upcasts. Swift SVN r18840
This commit is contained in:
@@ -3126,7 +3126,7 @@ ConstraintSystem::simplifyRestrictedConstraint(ConversionRestrictionKind restric
|
||||
return SolutionKind::Error;
|
||||
}
|
||||
|
||||
increaseScore(SK_ArrayUpcastConversion);
|
||||
increaseScore(SK_CollectionUpcastConversion);
|
||||
addContextualScore();
|
||||
assert(matchKind >= TypeMatchKind::Conversion);
|
||||
|
||||
@@ -3161,7 +3161,7 @@ ConstraintSystem::simplifyRestrictedConstraint(ConversionRestrictionKind restric
|
||||
return SolutionKind::Unsolved;
|
||||
}
|
||||
|
||||
increaseScore(SK_ArrayBridgedConversion);
|
||||
increaseScore(SK_CollectionBridgedConversion);
|
||||
addContextualScore();
|
||||
assert(matchKind >= TypeMatchKind::Conversion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user