Files
kotlin-fork/compiler/testData/diagnostics/tests/functionAsExpression/NameDeprecation.kt
T
Stanislav Erokhin 298a075381 Minor. removed functions which declared in Standard.kt from diagnostic testdata.
Removed declaration for functions: TODO, run, with, apply, let.
2016-01-25 19:13:31 +03:00

10 lines
230 B
Kotlin
Vendored

fun foo() {
class A
fun bar() {}
(fun <!ANONYMOUS_FUNCTION_WITH_NAME!>bar<!>() {})
fun A.foo() {}
(fun A.<!ANONYMOUS_FUNCTION_WITH_NAME!>foo<!>() {})
run(fun <!ANONYMOUS_FUNCTION_WITH_NAME!>foo<!>() {})
}