Hi people, I’m glad there’s a community channel to ask a question :D
I’m a super newbie for Kotlin (I installed IntelliJ yesterday🙄) I have basics in Java by the way
I’m just curious why println does not work inside for loop. Is this intended or is it just a bug in this IntelliJ IDE?
Copy code
for ((index, element) in swarm.withIndex()){
println("Fish at $index is $element")
}
Fish at 0 is 12Fish at 1 is 5
Ohh it's already reported bug then.. by the way I'm a super newbie so never heard of such website! Seems to be an official bug tracking website by InteliJ, I'll look onto it, thanks @Joris PZ!