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:
Stanislav Erokhin
2016-01-24 13:15:37 +03:00
parent d7438d9f2b
commit 298a075381
135 changed files with 3 additions and 222 deletions
@@ -4,8 +4,6 @@ class A<T> {
}
class Out<out E>
public inline fun <T, R> with(receiver: T, f: T.() -> R): R = receiver.f()
fun test(x: A<out CharSequence>, y: Out<CharSequence>) {
with(x) {
// TODO: this diagnostic could be replaced with TYPE_MISMATCH_DUE_TO_TYPE_PROJECTION
@@ -1,7 +1,6 @@
package
public fun test(/*0*/ x: A<out kotlin.CharSequence>, /*1*/ y: Out<kotlin.CharSequence>): kotlin.Unit
public inline fun </*0*/ T, /*1*/ R> with(/*0*/ receiver: T, /*1*/ f: T.() -> R): R
public final class A</*0*/ T> {
public constructor A</*0*/ T>()