CreateExpect: shouldn't generate expect declaration from actual function with default implementation from interface
#KT-32737 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect interface My
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect interface My {
|
||||
fun foo(param: String)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual interface My {
|
||||
actual fun <caret>foo(param: String)
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual interface My {
|
||||
actual fun <caret>foo(param: String)
|
||||
}
|
||||
Reference in New Issue
Block a user