File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -696,7 +696,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
696
696
// /
697
697
// / "Unresolved" dependent member types have no known associated type,
698
698
// / and are only used transiently in the type checker.
699
- const DependentMemberType *findUnresolvedDependentMemberType ();
699
+ DependentMemberType *findUnresolvedDependentMemberType ();
700
700
701
701
// / Return the root generic parameter of this type parameter type.
702
702
GenericTypeParamType *getRootGenericParam ();
Original file line number Diff line number Diff line change @@ -4540,10 +4540,10 @@ Type Type::subst(TypeSubstitutionFn substitutions,
4540
4540
return substType (*this , substitutions, conformances, options);
4541
4541
}
4542
4542
4543
- const DependentMemberType *TypeBase::findUnresolvedDependentMemberType () {
4543
+ DependentMemberType *TypeBase::findUnresolvedDependentMemberType () {
4544
4544
if (!hasTypeParameter ()) return nullptr ;
4545
4545
4546
- const DependentMemberType *unresolvedDepMemTy = nullptr ;
4546
+ DependentMemberType *unresolvedDepMemTy = nullptr ;
4547
4547
Type (this ).findIf ([&](Type type) -> bool {
4548
4548
if (auto depMemTy = type->getAs <DependentMemberType>()) {
4549
4549
if (depMemTy->getAssocType () == nullptr ) {
You can’t perform that action at this time.
0 commit comments