Skip to content
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

[Question] Can I strict the order of Closure annotation? #1706

Open
psbss opened this issue May 22, 2024 · 2 comments
Open

[Question] Can I strict the order of Closure annotation? #1706

psbss opened this issue May 22, 2024 · 2 comments

Comments

@psbss
Copy link

psbss commented May 22, 2024

Hello

Thank you so much development.

I would like to strict the order of closure annotation? like this.
Do you have any options or roadmap as a feature request?

πŸ™…β€β™‚οΈ Not good
let badClosure: @escaping @Sendable () -> Void

πŸ™†β€β™‚οΈ Good
let goodClosure: @Sendable @escaping () -> Void
@nicklockwood
Copy link
Owner

There's no way to do this currently, but it's a great idea for a feature

@psbss
Copy link
Author

psbss commented May 22, 2024

Thank you so much your reply. I hope to realize and contribute this idea πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants