-
Notifications
You must be signed in to change notification settings - Fork 81
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
context receivers support #314
Comments
It is likely we will only fix this when this comes out of preview. Happy to accept a PR once the dependencies sort themselves out (though it looks it might be future compatible from the fact Ktfmt doesn't crash on this) |
I would like to know how it will be combined with annotations. 1context(Persistence)
@Provider class Repo 2context(Persistence)
@Provider
class Repo 3@Provider
context(Persistence)
class Repo The first one is which I like more but if there are a lot of annotations it will not look very good, so I think the third one is the best. |
@strulovich I tried this myself but after updating Kotlin to 1.7.10 and 1.7.20 beta, I cannot get the context receivers in Not sure if I am missing something or if there is a way to try to get them tokenized without using the context receivers from PSI. |
@strulovich as they are not going to be on 1.8.0, can this be prioritized a bit, please? |
Currently,
context
add an unnecessary breakline:should be:
The text was updated successfully, but these errors were encountered: