https://kotlinlang.org logo
#announcements
Title
# announcements
k

kingsley

06/04/2017, 7:40 PM
How come this compiles successfully. Referencing the class fails at runtime with
VerifyError
Copy code
open class Base(val me: String) {

  companion object : Base(string()) {
  
    private fun string() = "companion object"
    
  }
}
2 Views