Generate actual nested classes for actual owner class #KT-19937 Fixed
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
// WithNested: to be implemented
|
||||
actual class WithNested {
|
||||
|
||||
class Nested {
|
||||
fun bar()
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
fun baz()
|
||||
}
|
||||
|
||||
actual fun foo(): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
actual class Nested {
|
||||
actual fun bar() {}
|
||||
}
|
||||
|
||||
actual inner class Inner {
|
||||
actual fun baz() {}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// Sealed: to be implemented
|
||||
actual sealed class Sealed {
|
||||
object Obj : Sealed
|
||||
actual object Obj : Sealed
|
||||
actual class Klass(x: Int) : Sealed
|
||||
|
||||
class Klass(x: Int) : Sealed
|
||||
}
|
||||
Reference in New Issue
Block a user