Arity for builtins (#28)

Old-style function call

Utility for running opa yaml tests

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-10-24 10:11:50 -07:00
committed by GitHub
parent 951bb6b14c
commit 800e594d52
25 changed files with 359 additions and 137 deletions

View File

@@ -738,7 +738,7 @@ impl<'source> Parser<'source> {
Ok(expr)
}
fn parse_assign_expr(&mut self) -> Result<Expr<'source>> {
pub fn parse_assign_expr(&mut self) -> Result<Expr<'source>> {
let state = self.clone();
let start = self.tok.1.start;
let expr = self.parse_ref()?;