Skip to content

Commit 14a8ba5

Browse files
committed
test mutation 5
1 parent 5d4377d commit 14a8ba5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-out/epfl/test8-mutation5.check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ depends on Sym(5)
88
class Test extends ((Int)=>(Unit)) {
99
def apply(x0:Int): Unit = {
1010
val x2 = LoopArray(100) { x1 =>
11-
0.0
11+
0
1212
}
1313
val x4 = LoopArray(10) { x3 =>
1414
x2
1515
}
1616
val x5 = x4.clone // mutable
1717
val x7 = LoopArray(20) { x6 =>
18-
0.0
18+
0
1919
}
2020
val x8 = x7.clone // mutable
2121
val x9 = x5.update(4, x2)
2222
val x10 = x5.update(5, x8)
23-
val x11 = x8.update(50, 50.0)
23+
val x11 = x8.update(50, 50)
2424
val x12 = x5.apply(5)
2525
val x13 = x12.apply(50)
2626
val x14 = println(x13)

0 commit comments

Comments
 (0)