Skip to content

Commit b376408

Browse files
jPaolantonioJames Paolantonio
andauthored
Remove duplicate hasAttachedPropertyWrapper check (#73456)
Co-authored-by: James Paolantonio <j_paolantonio@apple.com>
1 parent 17e8594 commit b376408

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/ConstExtract/ConstExtract.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,6 @@ extractTypePropertyInfo(VarDecl *propertyDecl) {
427427

428428
if (const auto binding = propertyDecl->getParentPatternBinding()) {
429429
if (const auto originalInit = binding->getInit(0)) {
430-
if (propertyDecl->hasAttachedPropertyWrapper()) {
431-
return {propertyDecl, extractCompileTimeValue(originalInit),
432-
propertyWrapperValues};
433-
}
434-
435430
return {propertyDecl, extractCompileTimeValue(originalInit),
436431
propertyWrapperValues};
437432
}

0 commit comments

Comments
 (0)