~duangle/scopes#12: 
premature lifetime end inside label

repro:

using import Box
using import testing

# I use Box here, but seems to happen with any lifetime checked type.
let T = (Box i32)

fn A ()
    label l
        do
            merge l (T)

fn B ()
    label l
        merge l (T)

fn C ()
    label l
        T;

C;
B;
# cannot access value of type (uniqueof <Box i32> 1000) because it has been moved
test-compiler-error
    A;
none
Status
RESOLVED FIXED
Submitter
~radgerayden
Assigned to
No-one
Submitted
3 years ago
Updated
2 years ago
Labels
No labels applied.

~radgerayden REPORTED FIXED 2 years ago

Fixed in rev 2304 and 2305.

~radgerayden referenced this from #11 2 years ago

Register here or Log in to comment, or comment via email.