A range end is omitted when the next token closes the subscript (`..]`).
(&mut self)
| 1007 | // so `flags & MASK == 0` is `(flags & MASK) == 0`. |
| 1008 | fn parse_bitwise_or(&mut self) -> Result<Expression, ParserError> { |
| 1009 | let mut expr = self.parse_bitwise_xor()?; |
| 1010 | while self.match_bitwise_or() { |
| 1011 | self.consume_terminators(); |
| 1012 | let right = self.parse_bitwise_xor()?; |
| 1013 | expr = Expression::Binary { |
| 1014 | op: BinaryOp::BitwiseOr, |
| 1015 | left: Box::new(expr), |
| 1016 | right: Box::new(right), |
| 1017 | }; |
| 1018 | } |
no test coverage detected