Remove duplicate hasAttachedPropertyWrapper check (#73456)

Co-authored-by: James Paolantonio <j_paolantonio@apple.com>
This commit is contained in:
James Paolantonio
2024-05-08 11:35:55 -04:00
committed by GitHub
parent 17e8594ea3
commit b37640800c

View File

@@ -427,11 +427,6 @@ extractTypePropertyInfo(VarDecl *propertyDecl) {
if (const auto binding = propertyDecl->getParentPatternBinding()) {
if (const auto originalInit = binding->getInit(0)) {
if (propertyDecl->hasAttachedPropertyWrapper()) {
return {propertyDecl, extractCompileTimeValue(originalInit),
propertyWrapperValues};
}
return {propertyDecl, extractCompileTimeValue(originalInit),
propertyWrapperValues};
}