-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreachable List Loop #270
Comments
Minimized further: pub enum List<T> {
Cons(T, Box<List<T>>),
Nil,
}
fn foo(v: &List<List<u8>>) {
if let List::Cons(_, t) = v {
let mut t = &**t;
while let List::Cons(_, tt) = t
{
t = &**tt;
}
}
} When using the option
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trigger
$ aeneas -backend lean list_cons.llbc
[Info ] Imported: list_cons.llbc
[Info ] Generated the partial file (because of errors): ./ListCons.lean
[Error] Unreachable
Source: 'src/main.rs', lines 11:8-18:5
The text was updated successfully, but these errors were encountered: