improved binop parser

This commit is contained in:
Folkert 2021-03-07 01:41:58 +01:00
parent 98f5c9eefb
commit 8e9339a83d
2 changed files with 96 additions and 4 deletions

View file

@ -392,6 +392,7 @@ pub enum EExpr<'a> {
UnaryNot(Row, Col),
UnaryNegate(Row, Col),
BinOp(roc_module::operator::BinOp, Row, Col),
BadOperator(&'a [u8], Row, Col),
Def(&'a SyntaxError<'a>, Row, Col),
Type(Type<'a>, Row, Col),