I’m not sure if I understand that correctly, but I...
# getting-started
o
I’m not sure if I understand that correctly, but I’m thinking about
Copy code
open class A {}

class B : A() {}

fun A.dance() = print(„I’m dancing”)
and question is can I add some kind of modifier (to extension function
A.dance()
) to be able to do:
B.dance()