<Valid Locations for Empty Method> I’m curious abo...
# forum
r
Valid Locations for Empty Method I’m curious about where are valid locations in Kotlin to declare an empty method, meaning one without a body. In the current Kotlin grammar (Grammar) the body of a method is always optional. Meaning that an empty method can be declared anywhere a method with a body can be declared. (Ditto for an abstract method.) However, if I try to declare an empty method at the top level,...