Merge pull request #1056 from rtfeldman/parse-operators

Parse operators
This commit is contained in:
Richard Feldman 2021-03-07 23:19:49 -05:00 committed by GitHub
commit c2525d2407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 529 additions and 241 deletions

View file

@ -391,7 +391,7 @@ pub enum EExpr<'a> {
Access(Row, Col),
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),