Skip to content

[ConstraintSystem] Teach getFunctionArgApplyInfo about inout expr… #36459

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
Mar 17, 2021

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Mar 17, 2021

…essions

Currently getFunctionArgApplyInfo expects a locator with ApplyArgToParam
element to identify location of the argument. InOutExpr could only be used
in argument positions but it doesn't have the same locator format as non-inout
arguments, so getFunctionArgApplyInfo needs to do some digging in the AST
to retrieve that information.

Resolves: rdar://75146811

…essions

Currently `getFunctionArgApplyInfo` expects a locator with `ApplyArgToParam`
element to identify location of the argument. `InOutExpr` could only be used
in argument positions but it doesn't have the same locator format as non-inout
arguments, so `getFunctionArgApplyInfo` needs to do some digging in the AST
to retrieve that information.

Resolves: rdar://75146811
@xedin xedin requested a review from hborla March 17, 2021 03:19
@xedin
Copy link
Contributor Author

xedin commented Mar 17, 2021

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Mar 17, 2021

@swift-ci please smoke test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Mar 17, 2021

@swift-ci please smoke test Windows platform

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Mar 17, 2021

@swift-ci please smoke test Windows platform

@xedin
Copy link
Contributor Author

xedin commented Mar 17, 2021

@swift-ci please smoke test Windows platform

@xedin xedin merged commit 5e68204 into swiftlang:main Mar 17, 2021
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