Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/prec' into prec
Browse files Browse the repository at this point in the history
  • Loading branch information
josh11b committed Aug 22, 2024
2 parents 76871d1 + 51a7d17 commit 110e003
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn F(n: i32) {
// CHECK:STDERR:
false or 4 as i32;

// No ordering between comparison binary operators and `as`.
// No ordering between relational binary operators and `as`.
// CHECK:STDERR: fail_precedence_as.carbon:[[@LINE+4]]:12: ERROR: Parentheses are required to disambiguate operator precedence.
// CHECK:STDERR: 6 as i32 == 7;
// CHECK:STDERR: ^~
Expand Down

0 comments on commit 110e003

Please sign in to comment.