Skip to content

Commit 0691a3a

Browse files
committed
Fix where/with binding power; add 28 precedence and edge-case tests; bump to 1.0.0
1 parent 098e87d commit 0691a3a

11 files changed

Lines changed: 677 additions & 51 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["crates/allium-parser", "crates/allium"]
44

55
[workspace.package]
6-
version = "0.1.8"
6+
version = "1.0.0"
77
edition = "2021"
88
license = "MIT"
99
repository = "https://github.com/juxt/allium-tools"

crates/allium-parser/src/ast.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@ pub enum Expr {
180180
/// `{ a, b, c }` — set literal
181181
SetLiteral { span: Span, elements: Vec<Expr> },
182182

183-
/// `[a, b, c]` — list literal
184-
ListLiteral { span: Span, elements: Vec<Expr> },
185-
186183
/// `{ key: value, ... }` — object literal
187184
ObjectLiteral { span: Span, fields: Vec<NamedArg> },
188185

@@ -388,7 +385,6 @@ impl Expr {
388385
| Expr::Within { span }
389386
| Expr::DurationLiteral { span, .. }
390387
| Expr::SetLiteral { span, .. }
391-
| Expr::ListLiteral { span, .. }
392388
| Expr::ObjectLiteral { span, .. }
393389
| Expr::GenericType { span, .. }
394390
| Expr::MemberAccess { span, .. }

0 commit comments

Comments
 (0)