KT-7433 Type inference pushes Unit inside generic function with lower bound constraint

#KT-7433 Fixed
 #KT-7351 Fixed
This commit is contained in:
Svetlana Isakova
2015-04-16 18:00:31 +03:00
parent a37ae6ba6d
commit d40fd440b0
6 changed files with 72 additions and 8 deletions
@@ -0,0 +1,4 @@
package
internal fun test(/*0*/ ints: kotlin.List<kotlin.Int>): kotlin.Unit
kotlin.inline() public fun </*0*/ S, /*1*/ T : S> kotlin.Iterable<T>.reduce1(/*0*/ operation: (S, T) -> S): S