Skip to content

Commit 73922d3

Browse files
committed
[Sema] Removed redundant attached property wrapper check.
1 parent a28776e commit 73922d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSApply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ namespace {
10871087
locator);
10881088

10891089
auto *const calleeParamDecl = calleeParamList->get(idx);
1090-
if (calleeParamDecl->hasAttachedPropertyWrapper() && calleeParamDecl->hasExternalPropertyWrapper()) {
1090+
if (calleeParamDecl->hasExternalPropertyWrapper()) {
10911091
// Rewrite the parameter ref to the backing wrapper initialization
10921092
// expression.
10931093
auto &appliedWrapper = appliedPropertyWrappers[appliedWrapperIndex++];

0 commit comments

Comments
 (0)