I'd like the ability to declare a member property ...
# language-proposals
d
I'd like the ability to declare a member property as context for all properties and methods in a class, perhaps with a
@Context
annotation. Quite a few times, I have a really good use-case for a context parameter, but it would be used in dozens of property declarations, at which point redeclaring context for each one actually makes the code more verbose.
m
You might be interested in voting for youtrack.jetbrains.com/issue/KT-85022
d
Done, thanks!