// `and` evaluates its right operand only when the left one is true, so this does not divide by zero. // expect: run // result: 7 // phase: 6 // spec: docs/spec/15-source-language.md module demo.short fn main() -> u8 effects [] { let d: u8 = 0; if d != 0 and 10 / d > 1 { return 1; } if d == 0 or 10 / d > 1 { return 7; } return 2; }