Add actual: handle (incorrect) case with expect function with body
So #KT-23326 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class My {
|
||||
// Incompilable function
|
||||
fun foo() {}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class My {
|
||||
// Incompilable function
|
||||
fun foo() {}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class <caret>My
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class My {
|
||||
// Incompilable function
|
||||
actual fun foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user