mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #31224 from AnthonyLatsis/rename-getfullname-2
AST: Rename getFullName -> getName on ValueDecl & MissingMemberDecl
This commit is contained in:
@@ -6394,7 +6394,7 @@ static ConstraintFix *validateInitializerRef(ConstraintSystem &cs,
|
||||
auto &ctx = cs.getASTContext();
|
||||
if (auto *DRE =
|
||||
dyn_cast<DeclRefExpr>(baseExpr->getSemanticsProvidingExpr())) {
|
||||
if (DRE->getDecl()->getFullName() == ctx.Id_self) {
|
||||
if (DRE->getDecl()->getName() == ctx.Id_self) {
|
||||
if (getType(DRE)->is<ArchetypeType>())
|
||||
applicable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user