11-- Type Error: tests/neg-custom-args/captures/consume-twice-same-line.scala:5:16 ---------------------------------------
2- Separation failure: Illegal access to (x : Object^), which was passed to a
3- consume parameter or was used as a prefix to a consume method
2+ Separation failure: Illegal access to (x : Object^), which was passed as a consume parameter to method send
43and therefore is no longer available.
54
65where: ^ refers to a fresh root capability in the type of parameter x
@@ -10,8 +9,7 @@ where: ^ refers to a fresh root capability in the type of parameter x
109 | The capability was consumed here.
1110
1211-- Type Error: tests/neg-custom-args/captures/consume-twice-same-line.scala:8:16 ---------------------------------------
13- Separation failure: Illegal access to (x : Object^), which was passed to a
14- consume parameter or was used as a prefix to a consume method
12+ Separation failure: Illegal access to (x : Object^), which was passed as a consume parameter to method send
1513and therefore is no longer available.
1614
1715where: ^ refers to a fresh root capability in the type of parameter x
@@ -21,8 +19,7 @@ where: ^ refers to a fresh root capability in the type of parameter x
2119 | The capability was consumed here.
2220
2321-- Type Error: tests/neg-custom-args/captures/consume-twice-same-line.scala:8:25 ---------------------------------------
24- Separation failure: Illegal access to (x : Object^), which was passed to a
25- consume parameter or was used as a prefix to a consume method
22+ Separation failure: Illegal access to (x : Object^), which was passed as a consume parameter to method send
2623and therefore is no longer available.
2724
2825where: ^ refers to a fresh root capability in the type of parameter x
0 commit comments