mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove duplicate hasAttachedPropertyWrapper check (#73456)
Co-authored-by: James Paolantonio <j_paolantonio@apple.com>
This commit is contained in:
committed by
GitHub
parent
17e8594ea3
commit
b37640800c
@@ -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};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user