Fixes: use isExactFunctionOrExtensionFunctionType() to detect when lambda can be passed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
interface I : () -> Unit
|
||||
|
||||
fun foo(i: I){}
|
||||
|
||||
fun bar() {
|
||||
<caret>
|
||||
}
|
||||
|
||||
// ELEMENT: foo
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
interface I : () -> Unit
|
||||
|
||||
fun foo(i: I){}
|
||||
|
||||
fun bar() {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// ELEMENT: foo
|
||||
Reference in New Issue
Block a user