FYI var/val no longer allowed in function/loop counter


#1

Pretty much using val/var are no longer allowed for function parameters and loop counter. I think this is part of the language clean up.

http://youtrack.jetbrains.com/issue/KT-3181
http://youtrack.jetbrains.com/issue/KT-3182