Several migration fixes and make some zig parser improvements based on migrated code in the wild (#7716)

This commit is contained in:
Joshua Warner 2025-04-08 04:46:44 -07:00 committed by GitHub
parent 68af4b9a06
commit 6d22c4dd7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
329 changed files with 1663 additions and 833 deletions

View file

@ -216,7 +216,7 @@ impl BinOp {
ASSOCIATIVITY_TABLE[self as usize]
}
fn precedence(self) -> u8 {
pub fn precedence(self) -> u8 {
const PRECEDENCE_TABLE: [u8; 18] = generate_precedence_table();
PRECEDENCE_TABLE[self as usize]