kotlin icon indicating copy to clipboard operation
kotlin copied to clipboard

FIR: introduce serializer extension base for protocol-based platform extensions

Open jsjeon opened this issue 4 years ago • 3 comments

One day, if fir is used for other platforms (as well as JVM), we may want the serializer extension to deal with annotation serializations in a centralized way, similar to how SerializerExtensionBase (under :compiler:serialization) does.

jsjeon avatar May 29 '20 05:05 jsjeon

Guys, sorry, now I don't understand why this FirKotlinSerializerExtensionBase is introduced here and how do you want to use it. As far as I understand, at this moment the class will be unused.

mglukhikh avatar Jun 04 '20 14:06 mglukhikh

Indeed, it doesn't make much sense to introduce this class if we don't intend to add support for JS or Native under FIR in the nearest future. But if there are such plans, then it's required :).

udalov avatar Jun 04 '20 14:06 udalov

Well, I don't know, but I don't expect JS or Native support will be added until August or September. @semoro , what do you think about these perspectives?

mglukhikh avatar Jun 04 '20 16:06 mglukhikh