l

    Lawik

    3 years ago
    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?
    louiscad

    louiscad

    3 years ago
    What is the retention policy of the actual annotation?
    l

    Lawik

    3 years ago
    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.
    louiscad

    louiscad

    3 years ago
    Then, you should report it on kotl.in/issue, and provide a reproducer if possible.