Skip to content

[5.0][IDE] Fix SyntaxModel to walk sequence expression correctly #22181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jan 28, 2019

(Cherry-pick of #22177 for swift-5.0-branch)

This is 5.0 regression introduced in #18663 .

  • Handle sequence expression at call argument position
  • Set the sequence expression as the parent when walking into its sub
    expressions.
  • Correctly call walkToExprPost() to the sequence expression.

rdar://problem/47603866 / https://bugs.swift.org/browse/SR-9776

* Handle sequence expression at call argument position
* Set the sequence expression as the parent when walking into its sub
  expressions.
* Correctly call walkToExprPost() to the sequence expression.

rdar://problem/47603866 / https://bugs.swift.org/browse/SR-9776
(cherry picked from commit e7700dc)
@rintaro rintaro requested a review from a team January 28, 2019 21:30
@rintaro
Copy link
Member Author

rintaro commented Jan 28, 2019

@swift-ci Please test

@akyrtzi akyrtzi merged commit 37bd5bc into swiftlang:swift-5.0-branch Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants