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 @@
expect fun foo(i: Int, d: Double, s: String): Boolean
@@ -0,0 +1,4 @@
// "Create expected function in common module testModule_Common" "true"
// DISABLE-ERRORS
actual fun <caret>foo(i: Int, d: Double, s: String) = s == "$i$d"
@@ -0,0 +1,4 @@
// "Create expected function in common module testModule_Common" "true"
// DISABLE-ERRORS
actual fun foo(i: Int, d: Double, s: String) = s == "$i$d"