program public_ttt.aleo {
transition f(a: u8, b: u8) {
if false {
a = 255u8;
} else {
b = 255u8;
}
}
}
leo build results in a compiler panic
thread `main` panicked at compiler/passes/src/static_single_assignment/rename_statement.rs:181:29:
internal error: entered unreachable code: Type checking guarantees that all expressions have a type.
🐛 Bug Report
This program:
leo build
results in a compiler panic