Add missing SinceKotlin to IntStream.toList.

This commit is contained in:
Ilya Gorbunov
2017-03-01 16:46:48 +03:00
parent c038d3e9a3
commit b83b534374
@@ -43,6 +43,7 @@ public fun <T> Stream<T>.toList(): List<T> = collect(Collectors.toList<T>())
/**
* Returns a [List] containing all elements produced by this stream.
*/
@SinceKotlin("1.1")
public fun IntStream.toList(): List<Int> = toArray().asList()
/**