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 14a8ba5 commit ad5ae49Copy full SHA for ad5ae49
test-out/epfl/test8-mutation6.check
@@ -14,7 +14,7 @@ depends on Sym(3)
14
class Test extends ((Int)=>(Unit)) {
15
def apply(x0:Int): Unit = {
16
val x2 = LoopArray(100) { x1 =>
17
-0.0
+0
18
}
19
val x3 = x2.clone // mutable
20
val x5 = LoopArray(10) { x4 =>
@@ -25,7 +25,7 @@ val x11 = if (x10) {
25
x5
26
} else {
27
val x8 = LoopArray(100) { x7 =>
28
29
30
val x9 = LoopArray(10) { x6 =>
31
x8
@@ -34,10 +34,10 @@ x9
34
35
val x12 = x11.apply(5)
36
val x13 = x12.apply(50)
37
-val x14 = x3.update(50, 50.0)
+val x14 = x3.update(50, 50)
38
val x15 = x11.apply(5)
39
val x16 = x15.apply(50)
40
-val x17 = x16-x13
+val x17 = x16 - x13
41
val x18 = println(x17)
42
x18
43
0 commit comments