Skip to content

Commit 0533b78

Browse files
committed
RequirementMachine: Remove bogus copy-and-pasted comment
1 parent cfb1595 commit 0533b78

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/AST/RequirementMachine/GenericSignatureQueries.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,7 @@ Type RequirementMachine::getCanonicalTypeInContext(
419419
}
420420

421421
/// Replace 'Self' in the given dependent type (\c depTy) with the given
422-
/// dependent type, producing a type that refers to
423-
/// the nested type. This limited operation makes sure that it does not
424-
/// create any new potential archetypes along the way, so it should only be
425-
/// used in cases where we're reconstructing something that we know exists.
422+
/// dependent type, producing a type that refers to the nested type.
426423
static Type replaceSelfWithType(Type selfType, Type depTy) {
427424
if (auto depMemTy = depTy->getAs<DependentMemberType>()) {
428425
Type baseType = replaceSelfWithType(selfType, depMemTy->getBase());

0 commit comments

Comments
 (0)