Forbidden old invokeExtension convention.
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
class A {
|
||||
fun test(b: B) {
|
||||
fun test(b: A.() -> Unit) {
|
||||
<selection>this.b()</selection>
|
||||
}
|
||||
}
|
||||
|
||||
class B() {
|
||||
fun A.invoke() {}
|
||||
}
|
||||
@@ -1,9 +1,5 @@
|
||||
class A {
|
||||
fun test(b: B) {
|
||||
fun test(b: A.() -> Unit) {
|
||||
b()
|
||||
}
|
||||
}
|
||||
|
||||
class B() {
|
||||
fun A.invoke() {}
|
||||
}
|
||||
Reference in New Issue
Block a user