Delete assertion on receiver presence in 'invoke'
#KT-6541 Fixed #KT-7383 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// KT-7383 Assertion failed when a star-projection of function type is used
|
||||
|
||||
fun foo() {
|
||||
val f : Function1<*, *> = { x -> x.toString() }
|
||||
<!FUNCTION_EXPECTED, UNUSED_EXPRESSION!>f<!>(1)
|
||||
}
|
||||
Reference in New Issue
Block a user