Added a test
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
package second
|
||||
|
||||
fun (String.() -> Unit)?.helloFun1() {
|
||||
}
|
||||
|
||||
fun Function0<Unit>.helloFun2() {
|
||||
}
|
||||
|
||||
fun ExtensionFunction0<String, Unit>.helloFun3() {
|
||||
}
|
||||
|
||||
fun ExtensionFunction0<Int, Unit>.helloFun4() {
|
||||
}
|
||||
|
||||
fun Function1<String, Unit>.helloFun5() {
|
||||
}
|
||||
|
||||
fun Any.helloAny() {
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package first
|
||||
|
||||
fun firstFun(p: String.() -> Unit) {
|
||||
p.hello<caret>
|
||||
}
|
||||
|
||||
// EXIST: helloFun1
|
||||
// ABSENT: helloFun2
|
||||
// EXIST: helloFun3
|
||||
// ABSENT: helloFun4
|
||||
// ABSENT: helloFun5
|
||||
// EXIST: helloAny
|
||||
// NUMBER: 3
|
||||
Reference in New Issue
Block a user