File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/swift-5.1-branch/lib/Parse Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1242,7 +1242,7 @@ refs/heads/marcrasi-astverifier-disable: 3fac766a23a77ebd0640296bfd7fc116ea60a4e
1242
1242
refs/heads/revert-22227-a-tall-white-fountain-played: adfce60b2eaa54903ea189bed8a783bca609fa53
1243
1243
refs/heads/revert-22300-revert-22227-a-tall-white-fountain-played: 5f92040224df7dd4e618fdfb367349df64d8acad
1244
1244
refs/heads/swift-5.1-old-llvm-branch: 9cef8175146f25b72806154b8a0f4a3f52e3e400
1245
- refs/heads/swift-5.1-branch: 421514f163c3ac8e45320fe9439620866396d79d
1245
+ refs/heads/swift-5.1-branch: 662238d7b0d1538eb760e2837d25cf7e68cedd17
1246
1246
refs/tags/swift-4.2.2-RELEASE: e429d1f1aaf59e69d38207a96e56265c7f6fccec
1247
1247
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-02-a: 3e5a03d32ff3b1e9af90d6c1198c14f938379a6e
1248
1248
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-03-a: 4591c933063ddcb0d6cd6d0cdd01086b2f9b244d
Original file line number Diff line number Diff line change @@ -5666,7 +5666,7 @@ void Parser::parseAbstractFunctionBody(AbstractFunctionDecl *AFD) {
5666
5666
}
5667
5667
} else if (auto *E = Element.dyn_cast <Expr *>()) {
5668
5668
if (auto SE = dyn_cast<SequenceExpr>(E->getSemanticsProvidingExpr ())) {
5669
- if (SE->getNumElements () > 0 && isa<AssignExpr>(SE->getElement (1 ))) {
5669
+ if (SE->getNumElements () > 1 && isa<AssignExpr>(SE->getElement (1 ))) {
5670
5670
// This is an assignment. We don't want to implicitly return
5671
5671
// it.
5672
5672
return ;
You can’t perform that action at this time.
0 commit comments