Introduce quick-fix "create expected class / function / property"
#KT-27075 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class My
|
||||
@@ -0,0 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class My {
|
||||
actual fun <caret>foo(param: String) = param.length
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class My {
|
||||
actual fun <caret>foo(param: String) = param.length
|
||||
}
|
||||
Reference in New Issue
Block a user