https://kotlinlang.org logo
Title
t

tapchicoma

11/28/2017, 7:41 PM
what is right approach for
ReplaceWith
in
@Depreacted
annotation for properties? I want to update from:
val someField = someValue
to
val someFields = arrayOf(someValue)
Using
ReplaceWith("val someFields = arrayOf(x)")
produces
val someFields = arrayOf(x)
on IDEA action 😞
i

ilya.gorbunov

11/28/2017, 10:57 PM
Where do you place
@Deprecated
-- on the property?