Add a dialog to select members for export in expect class

#KT-31476 Fixed
#KT-31446 Fixed
#KT-31033 Fixed
This commit is contained in:
Dmitry Gridin
2019-05-17 19:31:35 +07:00
parent 9a910ef144
commit b575ed390a
37 changed files with 300 additions and 21 deletions
@@ -0,0 +1 @@
// DISABLE-ERRORS
@@ -0,0 +1,5 @@
// DISABLE-ERRORS
expect class <caret>My(a: Int, b: String) {
fun foo(param: String): Int
val a: Int
}
@@ -0,0 +1,6 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual class My<caret> actual constructor(actual val a: Int, b: String) {
actual fun foo(param: String) = param.length
}
@@ -0,0 +1,6 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual class My actual constructor(actual val a: Int, b: String) {
actual fun foo(param: String) = param.length
}