KT-10717 Type inference for lambda with local return

#KT-10717 Fixed
This commit is contained in:
Stanislav Erokhin
2016-06-09 20:22:29 +03:00
parent da01e4a57c
commit 585dcbf1f3
9 changed files with 126 additions and 13 deletions
@@ -0,0 +1,9 @@
package
public val foo: kotlin.Int
public fun test(): kotlin.Int
public fun test1(): kotlin.Nothing
public fun test2(): kotlin.Nothing
public fun test3(/*0*/ a: kotlin.collections.List<kotlin.String>, /*1*/ b: kotlin.collections.List<kotlin.Int>): kotlin.collections.List<kotlin.Int>
public fun test4(): kotlin.Int
public inline fun </*0*/ T, /*1*/ R> kotlin.collections.Iterable<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>