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 5d4377d commit 14a8ba5Copy full SHA for 14a8ba5
test-out/epfl/test8-mutation5.check
@@ -8,19 +8,19 @@ depends on Sym(5)
8
class Test extends ((Int)=>(Unit)) {
9
def apply(x0:Int): Unit = {
10
val x2 = LoopArray(100) { x1 =>
11
-0.0
+0
12
}
13
val x4 = LoopArray(10) { x3 =>
14
x2
15
16
val x5 = x4.clone // mutable
17
val x7 = LoopArray(20) { x6 =>
18
19
20
val x8 = x7.clone // mutable
21
val x9 = x5.update(4, x2)
22
val x10 = x5.update(5, x8)
23
-val x11 = x8.update(50, 50.0)
+val x11 = x8.update(50, 50)
24
val x12 = x5.apply(5)
25
val x13 = x12.apply(50)
26
val x14 = println(x13)
0 commit comments