Quick-fix for header without implementation + a set of tests #KT-14908 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Create header class implementation for platform JVM" "true"
|
||||
|
||||
header class <caret>WithNested {
|
||||
fun foo(): Int
|
||||
|
||||
class Nested {
|
||||
fun bar() = "Nested"
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
fun baz() = "Inner"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// "Create header class implementation for platform JVM" "true"
|
||||
|
||||
header class WithNested {
|
||||
fun foo(): Int
|
||||
|
||||
class Nested {
|
||||
fun bar() = "Nested"
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
fun baz() = "Inner"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
// WithNested: to be implemented
|
||||
@@ -0,0 +1,15 @@
|
||||
// WithNested: to be implemented
|
||||
impl class WithNested {
|
||||
|
||||
class Nested {
|
||||
fun bar() = "Nested"
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
fun baz() = "Inner"
|
||||
}
|
||||
|
||||
impl fun foo(): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user