Minor. removed functions which declared in Standard.kt from diagnostic testdata.
Removed declaration for functions: TODO, run, with, apply, let.
This commit is contained in:
-2
@@ -16,5 +16,3 @@ fun test(foo: A.() -> Int) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ foo: A.() -> kotlin.Int): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
-2
@@ -11,5 +11,3 @@ fun test(foo: A.() -> Int) {
|
||||
this.foo() checkType { _<A>() }
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ foo: A.() -> kotlin.Int): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
@@ -20,4 +20,3 @@ fun a(c: Calendar) {
|
||||
timeInMillis = ""
|
||||
}
|
||||
}
|
||||
fun <T> T.apply(f: T.() -> Unit): T { f(); return this }
|
||||
@@ -2,7 +2,6 @@ package
|
||||
|
||||
public var A.timeInMillis: kotlin.String
|
||||
public fun a(/*0*/ c: Calendar): kotlin.Unit
|
||||
public fun </*0*/ T> T.apply(/*0*/ f: T.() -> kotlin.Unit): T
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
@@ -14,6 +14,3 @@ fun test(a: A) {
|
||||
foo() checkType { _<Int>() }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ a: A): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
|
||||
public fun A.foo(): A
|
||||
|
||||
public final class A {
|
||||
|
||||
@@ -16,5 +16,3 @@ fun test(a: A) {
|
||||
this.foo() checkType { _<A>() }
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
@@ -1,7 +1,6 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ a: A): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
-2
@@ -27,5 +27,3 @@ class B {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ package
|
||||
|
||||
private val A.foo: kotlin.Int
|
||||
public fun test(/*0*/ a: A): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
|
||||
|
||||
public open class A {
|
||||
public constructor A()
|
||||
|
||||
-2
@@ -34,5 +34,3 @@ fun test(a: A, b: B, c: C) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ a: A, /*1*/ b: B, /*2*/ c: C): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
|
||||
|
||||
public open class A {
|
||||
public constructor A()
|
||||
|
||||
Reference in New Issue
Block a user