Is there a public API way in IR to serialize annot...
# compiler
z
Is there a public API way in IR to serialize annotations into metadata? I know there's separate ongoing work to support this in kotlin-metadata, but my use case is one where I am generating a class based on a private symbol and want to copy over its annotations to make them readable in separate compilations that may reference them. Initially I thought to just copy over annotations from the source symbol to the generated class in FIR, but it seems that unresolved annotations are ignored in this scenario
u
Nope, but maybe it will work automatically after KT-57919, need to check
z
thanks, worked around the use case I had for this separately so no longer an issue for me :)