3737Separation failure: Illegal access to (buf : Buffer[Int]^), which was passed as a consume parameter to method app
3838and therefore is no longer available.
3939
40- where: ^ refers to a fresh root capability in the type of parameter buf
40+ where: ^ refers to a fresh root capability classified as Unscoped in the type of parameter buf
414121 | val buf1: Buffer[Int]^ = app(buf, 1)
4242 | ---
4343 | The capability was consumed here.
444422 | val buf2 = app(buf1, 2) // OK
454523 | val buf3 = app(buf, 3) // error
4646 | ^^^
47- <<<<<<< HEAD
48- |Separation failure: Illegal access to (buf : Buffer[Int]^), which was passed as a consume parameter to method app
49- |on line 21 and therefore is no longer available.
50- |
51- |where: ^ refers to a fresh root capability classified as Unscoped in the type of parameter buf
52- =======
5347 | Then, it was used here
5448
55- >>>>>>> 2ee70f2604 (Update checkfiles)
5649-- Error: tests/neg-custom-args/captures/linear-buffer.scala:30:17 -----------------------------------------------------
5750Separation failure: Illegal access to (buf1 : Buffer[Int]^), which was passed as a consume parameter to method app
5851and therefore is no longer available.
5952
60- where: ^ refers to a fresh root capability in the type of value buf1
53+ where: ^ refers to a fresh root capability classified as Unscoped in the type of value buf1
615428 | if ??? then app(buf1, 2) // OK
6255 | ----
6356 | The capability was consumed here.
645729 | else app(buf1, 3) // OK
655830 | val buf3 = app(buf1, 4) // error
6659 | ^^^^
67- <<<<<<< HEAD
68- |Separation failure: Illegal access to (buf1 : Buffer[Int]^), which was passed as a consume parameter to method app
69- |on line 28 and therefore is no longer available.
70- |
71- |where: ^ refers to a fresh root capability classified as Unscoped in the type of value buf1
72- =======
7360 | Then, it was used here
7461
75- >>>>>>> 2ee70f2604 (Update checkfiles)
7662-- Error: tests/neg-custom-args/captures/linear-buffer.scala:38:17 -----------------------------------------------------
7763Separation failure: Illegal access to (buf1 : Buffer[Int]^), which was passed as a consume parameter to method app
7864and therefore is no longer available.
7965
80- where: ^ refers to a fresh root capability in the type of value buf1
66+ where: ^ refers to a fresh root capability classified as Unscoped in the type of value buf1
816735 | case 1 => app(buf1, 2) // OK
8268 | ----
8369 | The capability was consumed here.
847036 | case 2 => app(buf1, 2)
857137 | case _ => app(buf1, 3)
867238 | val buf3 = app(buf1, 4) // error
8773 | ^^^^
88- <<<<<<< HEAD
89- |Separation failure: Illegal access to (buf1 : Buffer[Int]^), which was passed as a consume parameter to method app
90- |on line 35 and therefore is no longer available.
91- |
92- |where: ^ refers to a fresh root capability classified as Unscoped in the type of value buf1
93- =======
9474 | Then, it was used here
9575
96- >>>>>>> 2ee70f2604 (Update checkfiles)
9776-- Error: tests/neg-custom-args/captures/linear-buffer.scala:48:17 -----------------------------------------------------
9877Separation failure: Illegal access to (buf1 : Buffer[Int]^), which was passed as a consume parameter to method app
9978and therefore is no longer available.
10079
101- where: ^ refers to a fresh root capability in the type of value buf1
80+ where: ^ refers to a fresh root capability classified as Unscoped in the type of value buf1
1028143 | case 1 => app(buf1, 2) // OK
10382 | ----
10483 | The capability was consumed here.
@@ -108,15 +87,8 @@ where: ^ refers to a fresh root capability in the type of value buf1
1088747 | case 5 => app(buf1, 5)
1098848 | val buf3 = app(buf1, 4) // error
11089 | ^^^^
111- <<<<<<< HEAD
112- |Separation failure: Illegal access to (buf1 : Buffer[Int]^), which was passed as a consume parameter to method app
113- |on line 43 and therefore is no longer available.
114- |
115- |where: ^ refers to a fresh root capability classified as Unscoped in the type of value buf1
116- =======
11790 | Then, it was used here
11891
119- >>>>>>> 2ee70f2604 (Update checkfiles)
12092-- Error: tests/neg-custom-args/captures/linear-buffer.scala:52:8 ------------------------------------------------------
1219352 | app(buf, 1) // error
12294 | ^^^
0 commit comments