We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f130e0 commit a7ff9bcCopy full SHA for a7ff9bc
test-out/epfl/test8-mutation2.check
@@ -10,11 +10,11 @@ depends on Sym(6)
10
class Test extends ((Int)=>(Unit)) {
11
def apply(x0:Int): Unit = {
12
val x2 = LoopArray(100) { x1 =>
13
-0.0
+0
14
}
15
val x3 = x2.clone // mutable
16
val x5 = LoopArray(100) { x4 =>
17
18
19
val x6 = x5.clone // mutable
20
val x7 = x0 > 7
@@ -24,10 +24,10 @@ x3
24
x6
25
26
val x9 = x8.apply(10)
27
-val x10 = x3.update(10, 10.0)
28
-val x11 = x6.update(10, 20.0)
+val x10 = x3.update(10, 10)
+val x11 = x6.update(10, 20)
29
val x12 = x8.apply(10)
30
-val x13 = x12-x9
+val x13 = x12 - x9
31
val x14 = println(x13)
32
x14
33
0 commit comments