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