File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
lib/AST/RequirementMachine Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -419,10 +419,7 @@ Type RequirementMachine::getCanonicalTypeInContext(
419
419
}
420
420
421
421
// / 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.
426
423
static Type replaceSelfWithType (Type selfType, Type depTy) {
427
424
if (auto depMemTy = depTy->getAs <DependentMemberType>()) {
428
425
Type baseType = replaceSelfWithType (selfType, depMemTy->getBase ());
You can’t perform that action at this time.
0 commit comments