Turn repl test back on

This commit is contained in:
Ayaz Hafiz 2022-04-21 10:16:02 -04:00
parent e73ebfba3e
commit 43bff0b59d
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -52,11 +52,7 @@ fn walk_def<V: Visitor>(visitor: &mut V, def: &Def) {
); );
visitor.visit_expr(&loc_expr.value, loc_expr.region, *expr_var); visitor.visit_expr(&loc_expr.value, loc_expr.region, *expr_var);
if let Some(annot) = &annotation { if let Some(annot) = &annotation {
<<<<<<< HEAD
visitor.visit_annotation(annot); visitor.visit_annotation(annot);
=======
visitor.visit_annotation(&annot);
>>>>>>> 1c2489622 (Add a way to view solved types of arbitrary expressions/patterns in a program)
} }
} }
@ -121,15 +117,8 @@ fn walk_when_branch<V: Visitor>(visitor: &mut V, branch: &WhenBranch, expr_var:
} }
} }
<<<<<<< HEAD
fn walk_pattern<V: Visitor>(_visitor: &mut V, _pat: &Pattern) { fn walk_pattern<V: Visitor>(_visitor: &mut V, _pat: &Pattern) {
todo!() todo!()
=======
fn walk_pattern<V: Visitor>(_visitor: &mut V, pat: &Pattern) {
match pat {
_ => todo!(),
}
>>>>>>> 1c2489622 (Add a way to view solved types of arbitrary expressions/patterns in a program)
} }
trait Visitor: Sized { trait Visitor: Sized {