Migration to actual/expect: quick-fix CreateActualFix with tests
This commit is contained in:
@@ -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.
|
||||
}
|
||||
Reference in New Issue
Block a user