Klitos Kyriacou
08/26/2025, 5:04 PMa
in the line starting val b
, and right click "Analyze code", "Data flow to here" is greyed out. If I do the exact same thing in Java, it works. I'm using version 2024.3.6.
fun main(args: Array<String>) {
val a = args.size
val b = args[a - 1]
}
Anna Kozlova
08/27/2025, 7:29 AM