Skip to content

Commit 5e528de

Browse files
committed
[CSDiag] We don't need the property wrapper info
1 parent 1d18a3b commit 5e528de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Sema/CSDiag.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3358,9 +3358,9 @@ class ArgumentMatcher : public MatchCallArgumentListener {
33583358

33593359
bool isPropertyWrapperImplicitInit() {
33603360
if (auto TE = dyn_cast<TypeExpr>(FnExpr)) {
3361-
if (auto info = TE->getInstanceType()
3362-
->getAnyNominal()
3363-
->getPropertyWrapperTypeInfo()) {
3361+
if (TE->getInstanceType()
3362+
->getAnyNominal()
3363+
->getPropertyWrapperTypeInfo()) {
33643364
if (auto parent = CandidateInfo.CS.getParentExpr(FnExpr)) {
33653365
if (auto CE = dyn_cast<CallExpr>(parent)) {
33663366
return CE->isImplicit();

0 commit comments

Comments
 (0)