You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code generated by @DependencyClient is incorrect for inout parameters and generate invalid swift code. it should explicitly refuse to generate code or if possible generate valid code.
Checklist
I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
If possible, I've reproduced the issue using the main branch of this package.
I'd love to. I'll have a look within a couple days and ping you if I'm struggling, Idon't have much experience with SwiftSyntax but I was looking to dive in.
Description
The code generated by @DependencyClient is incorrect for inout parameters and generate invalid swift code. it should explicitly refuse to generate code or if possible generate valid code.
Checklist
main
branch of this package.Expected behavior
Should generate valid swift code
Actual behavior
The code generated :
is not valid code: Passing value of type 'URLRequest' to an inout parameter requires explicit '&'
Steps to reproduce
No response
Dependencies version information
1.1.1
Destination operating system
No response
Xcode version information
15.0.1
Swift Compiler version information
No response
The text was updated successfully, but these errors were encountered: