Refactoring: change signature should affected expect/actual
#KT-33972 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
expect open class A() {
|
||||
open fun c(a: Int, b: String)
|
||||
}
|
||||
|
||||
class C : A() {
|
||||
override fun c(a: Int, b: String) {}
|
||||
}
|
||||
|
||||
public inline fun <T, R> with(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
expect open class A() {
|
||||
open fun String.c(a: Int)
|
||||
}
|
||||
|
||||
class C : A() {
|
||||
override fun String.c(a: Int) {}
|
||||
}
|
||||
|
||||
public inline fun <T, R> with(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
Reference in New Issue
Block a user