mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
Array<*> can't be queried for an argument type, and IntArray doesn't have an argument at all; both were previously causing the extractor to fail to extract the whole file due to throwing an exception.
12 lines
181 B
Kotlin
12 lines
181 B
Kotlin
fun test(x: Array<String>, y: Array<*>, z: IntArray): Int {
|
|
|
|
var ret = 0
|
|
|
|
for (el in x) { ret += 1 }
|
|
for (el in y) { ret += 1 }
|
|
for (el in z) { ret += 1 }
|
|
|
|
return ret
|
|
|
|
}
|