Allow literals in statements (#276)

Implements #229 and #261.
This commit is contained in:
Daniel Gulotta 2025-06-13 10:27:19 -07:00 committed by GitHub
parent 21ab3c2d0d
commit 7d0d3ad769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 992 additions and 825 deletions

View file

@ -75,7 +75,11 @@ impl Operation {
.iter()
.flat_map(|arg| match arg {
OperationArg::None => None,
OperationArg::Index(i) => Some(statements[*i].clone().try_into()),
OperationArg::Index(i) => {
let st: Result<crate::middleware::Statement> =
statements[*i].clone().try_into();
Some(st)
}
})
.collect::<Result<Vec<_>>>()?;
let deref_aux = match self.2 {