When I annotate an expected class in my common code, the annotation is removed from the compiled jvm class, is there any way to prevent this?
l
louiscad
04/11/2019, 11:42 AM
What is the retention policy of the actual annotation?
l
Lawik
04/11/2019, 11:53 AM
Runtime.
It works fine when I use it on a non-expect class in my common code, the annotation gets added in the compiled jvm class, but that doesn't happen when I use it on an expect class in my common code.
l
louiscad
04/11/2019, 1:04 PM
Then, you should report it on kotl.in/issue, and provide a reproducer if possible.