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,4 @@
// DISABLE-ERRORS
expect class <caret>My(a: Int) {
val text: String
}
@@ -0,0 +1,8 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual class My<caret> actual constructor(val a: Int) {
fun foo(param: String) = param.length
actual val text: String = "test"
constructor(): this(42)
}
@@ -0,0 +1,8 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual class My actual constructor(val a: Int) {
fun foo(param: String) = param.length
actual val text: String = "test"
constructor(): this(42)
}