Skip to content

Commit a7ff9bc

Browse files
committed
test mutation 2
1 parent 9f130e0 commit a7ff9bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test-out/epfl/test8-mutation2.check

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ depends on Sym(6)
1010
class Test extends ((Int)=>(Unit)) {
1111
def apply(x0:Int): Unit = {
1212
val x2 = LoopArray(100) { x1 =>
13-
0.0
13+
0
1414
}
1515
val x3 = x2.clone // mutable
1616
val x5 = LoopArray(100) { x4 =>
17-
0.0
17+
0
1818
}
1919
val x6 = x5.clone // mutable
2020
val x7 = x0 > 7
@@ -24,10 +24,10 @@ x3
2424
x6
2525
}
2626
val x9 = x8.apply(10)
27-
val x10 = x3.update(10, 10.0)
28-
val x11 = x6.update(10, 20.0)
27+
val x10 = x3.update(10, 10)
28+
val x11 = x6.update(10, 20)
2929
val x12 = x8.apply(10)
30-
val x13 = x12-x9
30+
val x13 = x12 - x9
3131
val x14 = println(x13)
3232
x14
3333
}

0 commit comments

Comments
 (0)