Migration to actual/expect: quick-fix CreateActualFix with tests

This commit is contained in:
Mikhail Glukhikh
2017-09-14 18:25:33 +03:00
parent 810d62bbaf
commit fba1a2a2db
41 changed files with 121 additions and 120 deletions
@@ -1,4 +1,4 @@
// "Create header class implementation for platform JS" "true"
// "Create actual class for platform JS" "true"
header abstract class <caret>Abstract {
fun foo(param: String): Int
@@ -1,4 +1,4 @@
// "Create header class implementation for platform JS" "true"
// "Create actual class for platform JS" "true"
header abstract class Abstract {
fun foo(param: String): Int
@@ -1,13 +1,13 @@
// Abstract: to be implemented
impl abstract class Abstract {
actual abstract class Abstract {
abstract fun String.bar(y: Double): Boolean
abstract var status: Int
impl fun foo(param: String): Int {
actual fun foo(param: String): Int {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
impl val isGood: Boolean
actual val isGood: Boolean
get() = TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}