Include has_preceding_inherited_fields in Item's hash impl

This commit is contained in:
Max Brunsfeld 2021-03-27 10:08:24 -07:00
parent 72143b17ff
commit c3eb5daa31

View file

@ -290,6 +290,7 @@ impl<'a> Hash for ParseItem<'a> {
hasher.write_u32(self.step_index);
hasher.write_i32(self.production.dynamic_precedence);
hasher.write_usize(self.production.steps.len());
hasher.write_i32(self.has_preceding_inherited_fields as i32);
self.precedence().hash(hasher);
self.associativity().hash(hasher);