Skip to content

[5.0][ConstraintSystem] Erase InOutExpr from member base #21222

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
merged 1 commit into from
Dec 12, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Dec 11, 2018

Diagnostics could introduce type-checked expressions into AST during
it's bottom up re-typechecking in attempt to find a problem.

To minimize number of AST permutations solver has to handle
let's just strip away implicit InOutExpr introduced by previous
successful type-checks, which is not really important anyway.

Resolves: rdar://problem/46459603
(cherry picked from commit b429d5a)

Diagnostics could introduce type-checked expressions into AST during
it's bottom up re-typechecking in attempt to find a problem.

To minimize number of AST permutations solver has to handle
let's just strip away implicit `InOutExpr` introduced by previous
successful type-checks, which is not really important anyway.

Resolves: rdar://problem/46459603
(cherry picked from commit b429d5a)
@xedin xedin requested a review from AnnaZaks December 11, 2018 21:03
@xedin xedin requested a review from a team as a code owner December 11, 2018 21:03
@xedin
Copy link
Contributor Author

xedin commented Dec 11, 2018

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Dec 11, 2018

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented Dec 12, 2018

4 UPASSes are unrelated.

@AnnaZaks
Copy link
Contributor

Can you please fix the 4 UPASSes?

@AnnaZaks AnnaZaks merged commit 689b47a into swiftlang:swift-5.0-branch Dec 12, 2018
@xedin
Copy link
Contributor Author

xedin commented Dec 12, 2018

@swift-ci sure, I'll open PR for swift-source-compat to fix that.

@xedin
Copy link
Contributor Author

xedin commented Dec 12, 2018

@AnnaZaks ^

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