luaur_analysis/methods/
unifier_report_error_unifier_alt_b.rs1use crate::records::type_error::TypeError;
2use crate::records::unifier::Unifier;
3
4impl Unifier {
5 pub fn report_error_type_error(&mut self, err: TypeError) {
6 self.errors.push(err);
7 self.failure = true;
8 }
9}