We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee35bfb commit 9953794Copy full SHA for 9953794
java/ql/test-kotlin1/library-tests/dataflow/foreach/C2.kt
@@ -8,6 +8,7 @@ class C2 {
8
val l = arrayOf(taint("a"), "")
9
sink(l)
10
sink(l[0])
11
+ sink(l.get(0))
12
for (i in l.indices) {
13
sink(l[i])
14
}
java/ql/test-kotlin1/library-tests/dataflow/foreach/test.expected
@@ -4,5 +4,6 @@
4
| C1.java:10:44:10:46 | "a" | C1.java:19:20:19:20 | s |
5
| C2.kt:8:32:8:32 | "a" | C2.kt:9:14:9:14 | l |
6
| C2.kt:8:32:8:32 | "a" | C2.kt:10:14:10:17 | ...[...] |
7
-| C2.kt:8:32:8:32 | "a" | C2.kt:12:18:12:21 | ...[...] |
-| C2.kt:8:32:8:32 | "a" | C2.kt:15:18:15:18 | s |
+| C2.kt:8:32:8:32 | "a" | C2.kt:11:14:11:21 | get(...) |
+| C2.kt:8:32:8:32 | "a" | C2.kt:13:18:13:21 | ...[...] |
+| C2.kt:8:32:8:32 | "a" | C2.kt:16:18:16:18 | s |
0 commit comments