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
+5
@@ -1626,6 +1626,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/collections/redundantAsSequence/hasLineBreak.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("map.kt")
|
||||
public void testMap() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/collections/redundantAsSequence/map.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notTermination.kt")
|
||||
public void testNotTermination() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/collections/redundantAsSequence/notTermination.kt");
|
||||
|
||||
Reference in New Issue
Block a user