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