https://kotlinlang.org logo
#intellij
Title
# intellij
j

Jonathan Ellis

06/07/2022, 10:22 PM
is there a way to refactor a function to a property?
image.png
^ Refactor -> Property ... gives me this error
r

RayeW47

06/08/2022, 8:20 PM
It seems like this is not working as you (or I) might expect. I'm not sure if this is a bug or not, but it seems like one. However, you can enter the context menu and it should suggest converting your function to a property, and it works just fine for me
1
7 Views