I am porting code between 2 very simillar platform...
# announcements
k
I am porting code between 2 very simillar platforms and from java to kotlin and found it useful to define a bunch of extension functions and normal members and make use of the
ReplaceWith()
for
Deprecated
to help me. But I've noticed some issues. Am I doing something wrong, or are
ReplaceWith
not advanced enough (yet)?
I noticed that if I set the replacement to
API
it works, but this doesn't make sense to me. Could anyone elaborate as to why that works?
l
Seems just an odd edge case. I don't think I've ever seen
this
as a target for
ReplaceWith