Skip to content

Commit 0eb32f6

Browse files
committed
Fixes after merge conflict
1 parent 2a2deea commit 0eb32f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/AST/LifetimeDependence.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,7 @@ class LifetimeDependenceChecker {
12741274
break;
12751275
case AccessorKind::Set: {
12761276
const unsigned newValIdx = 0;
1277+
auto *afd = cast<AbstractFunctionDecl>(decl);
12771278
auto *param = afd->getParameters()->get(newValIdx);
12781279
Type paramTypeInContext =
12791280
afd->mapTypeIntoContext(param->getInterfaceType());
@@ -1354,6 +1355,7 @@ class LifetimeDependenceChecker {
13541355
}
13551356
}
13561357
}
1358+
auto *afd = cast<AbstractFunctionDecl>(decl);
13571359
// Either a Get or Modify without any wrapped accessor. Handle these like a
13581360
// read of the stored property.
13591361
return inferLifetimeDependenceKind(

0 commit comments

Comments
 (0)