Refactor BadOperator to take a &str rather than &[u8]

This commit is contained in:
Joshua Warner 2021-12-18 14:40:04 -08:00
parent c7b826e3d4
commit 96e8916594
3 changed files with 49 additions and 63 deletions

View file

@ -267,7 +267,7 @@ pub enum EExpr<'a> {
Access(Row, Col),
UnaryNot(Row, Col),
UnaryNegate(Row, Col),
BadOperator(&'a [u8], Row, Col),
BadOperator(&'a str, Row, Col),
DefMissingFinalExpr(Row, Col),
DefMissingFinalExpr2(&'a EExpr<'a>, Row, Col),