Introduce quick-fix "create expected class / function / property"

#KT-27075 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-11-15 16:43:33 +03:00
parent 5c6f776c09
commit 2277dcc76f
47 changed files with 706 additions and 92 deletions
@@ -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
}