You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Fatal error: exception Assert_failure("boot/me/trans.ml", 2912, 6)
iter x() -> int {
}
fn f() -> bool {
for each (int i in x()) {
ret true;
}
ret false;
}
fn main(vec[str] args) -> () {
}
But if you change the return type to (), different error:
// E:Assembly error: unrecognized quad 41: jmp <none>
iter x() -> int {
}
fn f() -> () {
for each (int i in x()) {
ret;
}
}
fn main(vec[str] args) -> () {
}