Existing tests for 'val reassignment' of function parameters fixed

This commit is contained in:
svtk
2011-10-28 13:41:07 +04:00
parent 7db6752e20
commit c7bb6a08d4
8 changed files with 19 additions and 12 deletions
@@ -1,4 +1,4 @@
fun loop(times : Int) {
fun loop(var times : Int) {
while(times > 0) {
val u : fun(value : Int) : Unit = {
System.out?.println(it)