Precedence conflict tests

This commit is contained in:
Chad Stearns 2020-03-08 16:26:17 -04:00
parent 01a7cb55de
commit 3fc19e90e4
2 changed files with 65 additions and 3 deletions

View file

@ -198,7 +198,15 @@ pub fn fmt_expr<'a>(
buf.push('.');
buf.push_str(key);
}
other => panic!("TODO implement Fmt for AST variant {:?}", other),
MalformedIdent(_) => {
panic!("TODO implement malformed indent formatting");
}
MalformedClosure => {
panic!("TODO implement malformed closure formatting");
}
PrecedenceConflict(_left_binop, _right_binop, _expr) => {
panic!("TODO implement precedence conflict formatting");
}
}
}