Clarify todo/fixmes

This commit is contained in:
JT
2021-10-13 06:44:23 +13:00
parent 67b8438bda
commit 6024a001b4
18 changed files with 31 additions and 46 deletions

View File

@@ -26,7 +26,7 @@ pub enum Expr {
ValueWithUnit(Box<Expression>, Spanned<Unit>),
Filepath(String),
GlobPattern(String),
String(String), // FIXME: improve this in the future?
String(String),
CellPath(CellPath),
FullCellPath(Box<FullCellPath>),
Signature(Box<Signature>),

View File

@@ -39,7 +39,7 @@ impl Expression {
| Operator::In
| Operator::NotIn => 80,
Operator::And => 50,
Operator::Or => 40, // TODO: should we have And and Or be different precedence?
Operator::Or => 40,
}
}
_ => 0,