Skip to content

[5.0][incrParse] A couple of fixes for incrParse #20391

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 Nov 7, 2018

Cherry-pick of a couple of fixes for incremental parsing.

If the position is in the region that is inserted by the edits,
'pre-edit' position shouldn't exist. So we cannot reuse the node at the
position.

rdar://problem/45259469
https://bugs.swift.org/browse/SR-8995
Taking Missing node into account confuses reusability checking in
incremental parsing.

rdar://problem/45215049 https://bugs.swift.org/browse/SR-8976
rdar://problem/45287031 https://bugs.swift.org/browse/SR-9006
@rintaro rintaro requested a review from nkcsgexi November 7, 2018 10:24
@rintaro
Copy link
Member Author

rintaro commented Nov 7, 2018

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 7, 2018

Build failed
Swift Test Linux Platform
Git Sha - 523a9bc

@nkcsgexi
Copy link
Contributor

nkcsgexi commented Nov 7, 2018

The linux failure is unrelated. 🚢

@nkcsgexi nkcsgexi merged commit c16e3bc into swiftlang:swift-5.0-branch Nov 7, 2018
@rintaro rintaro deleted the 5.0-incrparse-rdar45259469 branch November 14, 2018 23:44
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.

3 participants