Skip to content

[ConstraintSystem] Erase InOutExpr from member base #21203

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 11, 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

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
@xedin
Copy link
Contributor Author

xedin commented Dec 11, 2018

Couldn't re-open previously closed PR for some reason.

@slavapestov Removing InOutExpr from formed member expressions proven more involved then expected, I'm going to come back to that later, extended original comment to mention it meanwhile.

@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 xedin merged commit ebbfa85 into swiftlang:master Dec 11, 2018
@xedin
Copy link
Contributor Author

xedin commented Dec 12, 2018

/cc @nathawes forgot to ping you

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.

1 participant