Annotation configuration cannot be used with generated functions. #68
FilipDolnik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, it's impossible to configure such functions because annotations cannot be used on the enclosing declarations of functions (a class or a file).
An example of such a use case is a copy method in data classes. With default arguments turned off by default, the only way to selectively enable default arguments for copy methods is to use the Gradle configuration, which is not ideal.
Beta Was this translation helpful? Give feedback.
All reactions