I have these Java classes in a .java file:
public class BaseOuter
{
public class BaseInner
{
}
}
And I have these Kotlin classes in a .kt file:
class DerivedOuter : BaseOuter()
{
class DerivedInner : BaseOuter.BaseInner()
{
}
}
This Kotlin code in Android Studio gives me an "Unresolved reference: BaseInner" error. So I can inherit from the BaseOuter class, but deriving from Java's BaseOuter.BaseInner is not syntactically correct (but if I try the same with inheritance from Kotlin classes I get no errors).
Somehow I can't google a same example or the question.
innerkeyword:inner class DerivedInner ...