Delete assertion on receiver presence in 'invoke'

#KT-6541 Fixed
 #KT-7383 Fixed
This commit is contained in:
Alexander Udalov
2015-05-14 22:46:44 +03:00
parent 34c6af0039
commit 4d00077ffb
8 changed files with 73 additions and 7 deletions
@@ -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)
}