|
| 1 | +return &b |
| 2 | + ^ unexpected '&', expecting end-of-input |
| 3 | + ^ unexpected '&', ignoring it |
| 4 | + |
| 5 | +return(&b) |
| 6 | + ^ unexpected '&', ignoring it |
| 7 | + ^ unexpected '&', expecting end-of-input |
| 8 | + ^ unexpected '&', ignoring it |
| 9 | + ^ expected a matching `)` |
| 10 | + ^ unexpected '&', expecting end-of-input |
| 11 | + ^ unexpected '&', ignoring it |
| 12 | + ^ unexpected ')', expecting end-of-input |
| 13 | + ^ unexpected ')', ignoring it |
| 14 | + |
| 15 | +return a, &b |
| 16 | + ^~ block argument should not be given |
| 17 | + |
| 18 | +return(a, &b) |
| 19 | + ^~ unexpected write target |
| 20 | + ^ unexpected '&', expecting end-of-input |
| 21 | + ^ unexpected '&', ignoring it |
| 22 | + ^ expected a matching `)` |
| 23 | + ^ unexpected '&', expecting end-of-input |
| 24 | + ^ unexpected '&', ignoring it |
| 25 | + ^ unexpected ')', expecting end-of-input |
| 26 | + ^ unexpected ')', ignoring it |
| 27 | + |
| 28 | +tap { break a, &b } |
| 29 | + ^~ block argument should not be given |
| 30 | + |
| 31 | +tap { next a, &b } |
| 32 | + ^~ block argument should not be given |
| 33 | + |
0 commit comments