Skip to content

Commit 6bff42c

Browse files
committed
[GSB] Fix a rogue "|| true that came in with the fix for rdar://problem/37283860.
1 parent c578687 commit 6bff42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/GenericSignature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ ConformanceAccessPath GenericSignature::getConformanceAccessPath(
10251025
Optional<GenericSignatureBuilder> replacementBuilder;
10261026
if (!source->parent->parent && requirementSignatureProto) {
10271027
// If we have a requirement signature now, we're done.
1028-
if (source->usesRequirementSignature || true) {
1028+
if (source->usesRequirementSignature) {
10291029
Type subjectType = source->getStoredType()->getCanonicalType();
10301030
path.path.push_back({subjectType, conformingProto});
10311031
return;

0 commit comments

Comments
 (0)