mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #66244 from sophiapoirier/MaterializePackExpr-getEndLock-logical-inversion
[Variadic Generics] correct a logical inversion typo in MaterializePa…
This commit is contained in:
@@ -3711,7 +3711,7 @@ public:
|
||||
}
|
||||
|
||||
SourceLoc getEndLoc() const {
|
||||
return ElementLoc.isInvalid() ? ElementLoc : FromExpr->getEndLoc();
|
||||
return ElementLoc.isValid() ? ElementLoc : FromExpr->getEndLoc();
|
||||
}
|
||||
|
||||
static bool classof(const Expr *E) {
|
||||
|
||||
Reference in New Issue
Block a user