Redundant 'asSequence' call: don't report when reciever type is Map
#KT-41338 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
78493395c3
commit
3f7aab6fae
@@ -0,0 +1,5 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
fun test(map: Map<String, Int>): Map.Entry<String, Int>? {
|
||||
return map.<caret>asSequence().firstOrNull()
|
||||
}
|
||||
Reference in New Issue
Block a user