What is the way to reference a nested classes constructor-param:
class SomeClass {
class State(val value: String)
}
class OtherClass{
class State(val value: String)
}
fun t() {
//doesn't work
"".let(::SomeClass.State)
"".let(::OtherClass.State)
}
importing State from both of the classes under a different alias and calling without the outerclasses does work, but I was hoping there is a way to do this while the outerclass in the reference…