Removed InvokeOnExtensionFunctionWithExplicitReceiverFix

This commit is contained in:
Stanislav Erokhin
2015-12-10 18:42:20 +03:00
parent dd24fd47f7
commit 1890b8cbd3
10 changed files with 0 additions and 165 deletions
-12
View File
@@ -73,18 +73,6 @@ fun <T : Cloneable> withTypeParameters() where T : Comparable<T> {
val x = C() willBeInfix 1
class AAA {
val foo: BBB.() -> Unit get() = null!!
}
class BBB
fun test(a: AAA, b: BBB) {
with(b) {
a.foo()
}
}
fun infixTest() {
arrayListOf(1, 2, 3) map { it }
}
-12
View File
@@ -72,18 +72,6 @@ fun <T> withTypeParameters() where T : Cloneable, T : Comparable<T> {
val x = C() willBeInfix 1
class AAA {
val foo: BBB.() -> Unit get() = null!!
}
class BBB
fun test(a: AAA, b: BBB) {
with(b) {
(a.foo)()
}
}
fun infixTest() {
arrayListOf(1, 2, 3).map { it }
}