EA-114349 Fix bug when trace collecting for large int values throws NPE
This commit is contained in:
committed by
Yan Zhulanow
parent
7cd1baff9d
commit
fbc2a5d9a7
+8
@@ -0,0 +1,8 @@
|
||||
package distinct
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
// Breakpoint!
|
||||
val seq = (22..25).map { it * it }.asSequence()
|
||||
.distinctBy { it.toString().first() }
|
||||
.count()
|
||||
}
|
||||
Reference in New Issue
Block a user