Last night's fuzzer failed: https://github.com/noir-lang/noir/actions/runs/21932884367/job/63340538747
This got minimised to:
fn main() -> pub Field {
// Safety: test
unsafe { func_4(@[true, true]) }
}
unconstrained fn func_4(a: [bool]) -> Field {
let mut idx: u32 = 0;
while a[0] {
if idx == 1 {
break
} else {
idx = idx + 1;
let _ = a.pop_front();
}
};
0
}
This looks to be another instance of #11474