i can have a companion object implement an interface and interact with its instance-less methods via abstraction
u
uli
06/13/2017, 7:12 PM
jw: well, there are no instance less methods in companion objects. If i define an extension method on a companion object and don't use the companion object instance i get a warning
j
jw
06/13/2017, 10:05 PM
It's instance-less with respect to the enclosing class, not the companion class