mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Requirement] Rename RequirementKind::SameCount to SameShape.
This commit is contained in:
@@ -1635,8 +1635,8 @@ public:
|
||||
for (auto reqt : nomGenericSig.getRequirements()) {
|
||||
auto firstTy = reqt.getFirstType().subst(substGPMap);
|
||||
switch (auto kind = reqt.getKind()) {
|
||||
case RequirementKind::SameCount:
|
||||
llvm_unreachable("Same-count requirement not supported here");
|
||||
case RequirementKind::SameShape:
|
||||
llvm_unreachable("Same-shape requirement not supported here");
|
||||
|
||||
case RequirementKind::SameType:
|
||||
// Skip same-type constraints that define away primary generic params,
|
||||
|
||||
Reference in New Issue
Block a user