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,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class C {
fun f() {}
}
fun C.g(f: (String) -> Unit = { s -> f() }) {}