Quick-fix for header without implementation + a set of tests #KT-14908 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-12-23 13:43:45 +03:00
parent 07de819377
commit 4774d19890
45 changed files with 890 additions and 86 deletions
@@ -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.
}
}