mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Precedence conflict tests
This commit is contained in:
parent
01a7cb55de
commit
3fc19e90e4
2 changed files with 65 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue