Files
kotlin-fork/compiler/testData/diagnostics/tests/resolve/specialConstructions/inferenceForElvis.txt
T
Svetlana Isakova 06e90cf6a1 Annotated the return type of 'elvis' function with @Exact
fun <T> ELVIS(T?, T): @Exact T
2015-10-22 21:55:12 +03:00

5 lines
111 B
Plaintext
Vendored

package
public fun </*0*/ T : kotlin.Any> foo(/*0*/ f: (T) -> kotlin.Unit): T?
public fun test(): kotlin.Unit