-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
A-control-flowIssue related to ullbc->llbc control-flow reconstructionIssue related to ullbc->llbc control-flow reconstruction
Description
Eurydice requires looping pattern matching to resugar the loops, e.g.,
let iter = ...::into_iter(&sth);
while true {
let x = ...::next(&iter);
match x {
None -> break;
Some ? -> ?
}
}
?restHowever, there are cases when the ?rest things are put directly into the None case, this is correct wrt the control-flow, but it will escape from the resugaring patterns. Would it be possible to avoid such cases and have some more stable looping control flow?
Nadrieril
Metadata
Metadata
Assignees
Labels
A-control-flowIssue related to ullbc->llbc control-flow reconstructionIssue related to ullbc->llbc control-flow reconstruction