git.delta.rocks / jrsonnet / refs/commits / ab84d0c67d11

difftreelog

refactor more spans wanted from IR

uvqsltluYaroslav Bolyukin2026-03-22parent: #d34410c.patch.diff
in: master

222 files changed

modifiedCargo.lockdiffbeforeafterboth
672 "hi-doc",672 "hi-doc",
673 "indoc",673 "indoc",
674 "insta",674 "insta",
675 "jrsonnet-lexer",
675 "jrsonnet-rowan-parser",676 "jrsonnet-rowan-parser",
676]677]
677678
715 "static_assertions",716 "static_assertions",
716]717]
718
719[[package]]
720name = "jrsonnet-ir-parser"
721version = "0.5.0-pre97"
722dependencies = [
723 "insta",
724 "jrsonnet-gcmodule",
725 "jrsonnet-ir",
726 "jrsonnet-lexer",
727]
717728
718[[package]]729[[package]]
719name = "jrsonnet-lexer"730name = "jrsonnet-lexer"
modifiedCargo.tomldiffbeforeafterboth
14jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre97" }14jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre97" }
15jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre97" }15jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre97" }
16jrsonnet-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre97" }16jrsonnet-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre97" }
17jrsonnet-ir-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre97" }
17jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre97" }18jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre97" }
18jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre97" }19jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre97" }
19jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre97" }20jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre97" }
modifiedcrates/jrsonnet-evaluator/src/arr/mod.rsdiffbeforeafterboth
77
8use jrsonnet_gcmodule::{cc_dyn, Cc};8use jrsonnet_gcmodule::{cc_dyn, Cc};
9use jrsonnet_interner::IBytes;9use jrsonnet_interner::IBytes;
10use jrsonnet_ir::{Expr, Spanned};10use jrsonnet_ir::Expr;
1111
12use crate::{function::NativeFn, Context, Result, Thunk, Val};12use crate::{function::NativeFn, Context, Result, Thunk, Val};
1313
modifiedcrates/jrsonnet-evaluator/src/arr/spec.rsdiffbeforeafterboth
33
4use jrsonnet_gcmodule::{Cc, Trace};4use jrsonnet_gcmodule::{Cc, Trace};
5use jrsonnet_interner::{IBytes, IStr};5use jrsonnet_interner::{IBytes, IStr};
6use jrsonnet_ir::{Expr, Spanned};6use jrsonnet_ir::Expr;
77
8use super::ArrValue;8use super::ArrValue;
9use crate::function::NativeFn;9use crate::function::NativeFn;
modifiedcrates/jrsonnet-evaluator/src/error.rsdiffbeforeafterboth
290}290}
291impl<T: Acyclic> ErrorSource for &Spanned<T> {291impl<T: Acyclic> ErrorSource for &Spanned<T> {
292 fn to_location(self) -> Option<Span> {292 fn to_location(self) -> Option<Span> {
293 Some(self.span())293 Some(self.span.clone())
294 }294 }
295}295}
296impl ErrorSource for &Span {296impl ErrorSource for &Span {
modifiedcrates/jrsonnet-evaluator/src/evaluate/mod.rsdiffbeforeafterboth
4949
50pub fn evaluate_trivial(expr: &Expr) -> Option<Val> {50pub fn evaluate_trivial(expr: &Expr) -> Option<Val> {
51 fn is_trivial(expr: &Expr) -> bool {51 fn is_trivial(expr: &Expr) -> bool {
52 match &*expr {52 match expr {
53 Expr::Str(_)53 Expr::Str(_)
54 | Expr::Num(_)54 | Expr::Num(_)
55 | Expr::Literal(LiteralType::False | LiteralType::True | LiteralType::Null) => true,55 | Expr::Literal(LiteralType::False | LiteralType::True | LiteralType::Null) => true,
56 Expr::Arr(a) => a.iter().all(|e| is_trivial(&*e)),56 Expr::Arr(a) => a.iter().all(is_trivial),
57 _ => false,57 _ => false,
58 }58 }
59 }59 }
60 Some(match &*expr {60 Some(match expr {
61 Expr::Str(s) => Val::string(s.clone()),61 Expr::Str(s) => Val::string(s.clone()),
62 Expr::Num(n) => {62 Expr::Num(n) => {
63 Val::Num(NumValue::new(*n).expect("parser will not allow non-finite values"))63 Val::Num(NumValue::new(*n).expect("parser will not allow non-finite values"))
71 }71 }
72 Val::Arr(ArrValue::eager(72 Val::Arr(ArrValue::eager(
73 n.iter()73 n.iter()
74 .map(|e| evaluate_trivial(&*e))74 .map(evaluate_trivial)
75 .map(|e| e.expect("checked trivial"))75 .map(|e| e.expect("checked trivial"))
76 .collect(),76 .collect(),
77 ))77 ))
89 })))89 })))
90}90}
9191
92pub fn evaluate_field_name(ctx: Context, field_name: &FieldName) -> Result<Option<IStr>> {92pub fn evaluate_field_name(ctx: Context, field_name: &Spanned<FieldName>) -> Result<Option<IStr>> {
93 Ok(match field_name {93 Ok(match &field_name.value {
94 FieldName::Fixed(n) => Some(n.clone()),94 FieldName::Fixed(n) => Some(n.clone()),
95 FieldName::Dyn(expr) => {95 FieldName::Dyn(expr) => in_frame(
96 // FIXME: Span96 CallLocation::new(&field_name.span),
97 || "evaluating field name".to_string(),
98 || {
97 let value = evaluate(ctx, expr)?;99 let v = evaluate(ctx, expr)?;
98 if matches!(value, Val::Null) {100 Ok(if matches!(v, Val::Null) {
99 None101 None
100 } else {102 } else {
101 Some(IStr::from_untyped(value)?)103 Some(IStr::from_untyped(v)?)
102 }104 })
103 } //105 },
104 // in_frame(106 )?,
105 // CallLocation::new(&expr.span()),
106 // || "evaluating field name".to_string(),
107 // || {
108 // },
109 // )?,
110 })107 })
111}108}
112109
117) -> Result<()> {114) -> Result<()> {
118 match specs.first() {115 match specs.first() {
119 None => callback(ctx)?,116 None => callback(ctx)?,
120 Some(CompSpec::IfSpec(Spanned(IfSpecData(cond), _))) => {117 Some(CompSpec::IfSpec(IfSpecData { cond, span: _ })) => {
121 if bool::from_untyped(evaluate(ctx.clone(), cond)?)? {118 if bool::from_untyped(evaluate(ctx.clone(), cond)?)? {
122 evaluate_comp(ctx, &specs[1..], callback)?;119 evaluate_comp(ctx, &specs[1..], callback)?;
123 }120 }
124 }121 }
125 Some(CompSpec::ForSpec(Spanned(ForSpecData(var, expr), _))) => {122 Some(CompSpec::ForSpec(ForSpecData {
123 destruct: into,
124 over,
125 })) => {
126 match evaluate(ctx.clone(), expr)? {126 match evaluate(ctx.clone(), over)? {
127 Val::Arr(list) => {127 Val::Arr(list) => {
128 for item in list.iter_lazy() {128 for item in list.iter_lazy() {
129 let fctx = Pending::new();129 let fctx = Pending::new();
130 let mut new_bindings = FxHashMap::with_capacity(var.binds_len());130 let mut new_bindings = FxHashMap::with_capacity(into.binds_len());
131 destruct(var, item, fctx.clone(), &mut new_bindings)?;131 destruct(into, item, fctx.clone(), &mut new_bindings)?;
132 let ctx = ctx.clone().extend_bindings(new_bindings).into_future(fctx);132 let ctx = ctx.clone().extend_bindings(new_bindings).into_future(fctx);
133133
134 evaluate_comp(ctx, &specs[1..], callback)?;134 evaluate_comp(ctx, &specs[1..], callback)?;
235 .field(name.clone())235 .field(name.clone())
236 .with_add(*plus)236 .with_add(*plus)
237 .with_visibility(*visibility)237 .with_visibility(*visibility)
238 // FIXME238 .with_location(field.name.span.clone())
239 // .with_location(value.span())
240 .bindable(UnboundValue {239 .bindable(UnboundValue {
241 uctx,240 uctx,
242 value: value.clone(),241 value: value.clone(),
361 let value = &assertion.0;360 let value = &assertion.0;
362 let msg = &assertion.1;361 let msg = &assertion.1;
363 let assertion_result = in_frame(362 let assertion_result = in_frame(
364 CallLocation::new(&value.span()),363 CallLocation::new(&value.span),
365 || "assertion condition".to_owned(),364 || "assertion condition".to_owned(),
366 || bool::from_untyped(evaluate(ctx.clone(), value)?),365 || bool::from_untyped(evaluate(ctx.clone(), value)?),
367 )?;366 )?;
368 if !assertion_result {367 if !assertion_result {
369 in_frame(368 in_frame(
370 CallLocation::new(&value.span()),369 CallLocation::new(&value.span),
371 || "assertion failure".to_owned(),370 || "assertion failure".to_owned(),
372 || {371 || {
373 if let Some(msg) = msg {372 if let Some(msg) = msg {
389388
390pub fn evaluate_named(ctx: Context, expr: &Expr, name: IStr) -> Result<Val> {389pub fn evaluate_named(ctx: Context, expr: &Expr, name: IStr) -> Result<Val> {
391 use Expr::*;390 use Expr::*;
392 Ok(match &*expr {391 Ok(match expr {
393 Function(params, body) => evaluate_method(ctx, name, params.clone(), body.clone()),392 Function(params, body) => evaluate_method(ctx, name, params.clone(), body.clone()),
394 _ => evaluate(ctx, expr)?,393 _ => evaluate(ctx, expr)?,
395 })394 })
433 BinaryOp(bin) => evaluate_binary_op_special(ctx, &bin.lhs, bin.op, &bin.rhs)?,432 BinaryOp(bin) => evaluate_binary_op_special(ctx, &bin.lhs, bin.op, &bin.rhs)?,
434 UnaryOp(o, v) => evaluate_unary_op(*o, &evaluate(ctx, v)?)?,433 UnaryOp(o, v) => evaluate_unary_op(*o, &evaluate(ctx, v)?)?,
435 Var(name) => in_frame(434 Var(name) => in_frame(
436 CallLocation::new(&name.span()),435 CallLocation::new(&name.span),
437 || format!("local <{}> access", &**name),436 || format!("local <{}> access", &**name),
438 || ctx.binding((**name).clone())?.evaluate(),437 || ctx.binding((**name).clone())?.evaluate(),
439 )?,438 )?,
595 ctx,
596 value,
597 args,
598 CallLocation::new(&args.span()),
599 *tailstrict,
600 )
601 })?,594 })?,
607 evaluate(ctx, &assert.rest)?600 evaluate(ctx, &assert.rest)?
608 }601 }
609 ErrorStmt(s, e) => in_frame(602 ErrorStmt(s, e) => in_frame(
610 CallLocation::new(&s),603 CallLocation::new(s),
611 || "error statement".to_owned(),604 || "error statement".to_owned(),
612 || bail!(RuntimeError(evaluate(ctx, e)?.to_string()?,)),605 || bail!(RuntimeError(evaluate(ctx, e)?.to_string()?,)),
613 )?,606 )?,
614 IfElse(if_else) => {607 IfElse(if_else) => {
615 if608 if in_frame(
616 // FIXME609 CallLocation::new(&if_else.cond.span),
617 //in_frame(610 || "if condition".to_owned(),
618 // CallLocation::new(&if_else.cond.0.span()),
619 // || "if condition".to_owned(),
620 // ||
621 bool::from_untyped(evaluate(ctx.clone(), &if_else.cond.0)?)?611 || bool::from_untyped(evaluate(ctx.clone(), &if_else.cond.cond)?),
622 // )?
623 {612 )? {
624 evaluate(ctx, &if_else.cond_then)?613 evaluate(ctx, &if_else.cond_then)?
625 } else {614 } else {
626 match &if_else.cond_else {615 match &if_else.cond_else {
637 ) -> Result<Option<T>> {626 ) -> Result<Option<T>> {
638 if let Some(value) = expr {627 if let Some(value) = expr {
639 Ok(in_frame(628 Ok(in_frame(
640 CallLocation::new(&value.span()),629 CallLocation::new(&value.span),
641 || format!("slice {desc}"),630 || format!("slice {desc}"),
642 || <Option<T>>::from_untyped(evaluate(ctx, value)?),631 || <Option<T>>::from_untyped(evaluate(ctx, value)?),
643 )?)632 )?)
659 bail!("computed imports are not supported")648 bail!("computed imports are not supported")
660 };649 };
661 with_state(|s| {650 with_state(|s| {
662 let span = kind.span();651 let span = &kind.span;
663 let resolved_path = s.resolve_from(span.0.source_path(), path)?;652 let resolved_path = s.resolve_from(span.0.source_path(), path)?;
664 Ok(match &**kind {653 Ok(match &**kind {
665 ImportKind::Normal => in_frame(654 ImportKind::Normal => in_frame(
666 CallLocation::new(&span),655 CallLocation::new(span),
667 || format!("import {:?}", path.clone()),656 || format!("import {:?}", path.clone()),
668 || s.import_resolved(resolved_path),657 || s.import_resolved(resolved_path),
669 )?,658 )?,
modifiedcrates/jrsonnet-evaluator/src/evaluate/operator.rsdiffbeforeafterboth
1use std::cmp::Ordering;1use std::cmp::Ordering;
22
3use jrsonnet_ir::{BinaryOpType, Expr, Spanned, UnaryOpType};3use jrsonnet_ir::{BinaryOpType, Expr, UnaryOpType};
44
5use crate::{5use crate::{
6 arr::ArrValue,6 arr::ArrValue,
modifiedcrates/jrsonnet-evaluator/src/function/mod.rsdiffbeforeafterboth
3use educe::Educe;3use educe::Educe;
4use jrsonnet_gcmodule::{Cc, Trace};4use jrsonnet_gcmodule::{Cc, Trace};
5use jrsonnet_interner::IStr;5use jrsonnet_interner::IStr;
6use jrsonnet_ir::{ArgsDesc, Destruct, Expr, ExprParams, Span, Spanned};6use jrsonnet_ir::{ArgsDesc, Destruct, Expr, ExprParams, Span};
7pub use jrsonnet_macros::builtin;7pub use jrsonnet_macros::builtin;
88
9use self::{9use self::{
modifiedcrates/jrsonnet-evaluator/src/lib.rsdiffbeforeafterboth
42pub use import::*;42pub use import::*;
43use jrsonnet_gcmodule::{cc_dyn, Cc, Trace};43use jrsonnet_gcmodule::{cc_dyn, Cc, Trace};
44pub use jrsonnet_interner::{IBytes, IStr};44pub use jrsonnet_interner::{IBytes, IStr};
45#[doc(hidden)]
46pub use jrsonnet_macros;
47pub use jrsonnet_ir as parser;45pub use jrsonnet_ir as parser;
48use jrsonnet_ir::{Expr, Source, SourcePath, Spanned};46use jrsonnet_ir::{Expr, Source, SourcePath};
47#[doc(hidden)]
48pub use jrsonnet_macros;
49use jrsonnet_peg_parser::ParserSettings;49use jrsonnet_peg_parser::ParserSettings;
50pub use obj::*;50pub use obj::*;
51pub use rustc_hash;51pub use rustc_hash;
addedcrates/jrsonnet-ir-parser/Cargo.tomldiffbeforeafterboth

no changes

addedcrates/jrsonnet-ir-parser/src/lib.rsdiffbeforeafterboth

no changes

addedcrates/jrsonnet-ir-parser/src/snapshots/jrsonnet_ir_parser__basic_test.snapdiffbeforeafterboth

no changes

modifiedcrates/jrsonnet-ir/src/expr.rsdiffbeforeafterboth
4242
43#[derive(Debug, PartialEq, Acyclic)]43#[derive(Debug, PartialEq, Acyclic)]
44pub struct FieldMember {44pub struct FieldMember {
45 pub name: FieldName,45 pub name: Spanned<FieldName>,
46 pub plus: bool,46 pub plus: bool,
47 pub params: Option<ExprParams>,47 pub params: Option<ExprParams>,
48 pub visibility: Visibility,48 pub visibility: Visibility,
295}295}
296296
297#[derive(Debug, PartialEq, Acyclic)]297#[derive(Debug, PartialEq, Acyclic)]
298pub struct IfSpecData(pub Expr);298pub struct IfSpecData {
299 pub span: Span,
300 pub cond: Expr,
301}
299302
300#[derive(Debug, PartialEq, Acyclic)]303#[derive(Debug, PartialEq, Acyclic)]
301pub struct ForSpecData(pub Destruct, pub Expr);304pub struct ForSpecData {
305 pub destruct: Destruct,
306 pub over: Expr,
307}
302308
303#[derive(Debug, PartialEq, Acyclic)]309#[derive(Debug, PartialEq, Acyclic)]
304pub enum CompSpec {310pub enum CompSpec {
305 IfSpec(Spanned<IfSpecData>),311 IfSpec(IfSpecData),
306 ForSpec(Spanned<ForSpecData>),312 ForSpec(ForSpecData),
307}313}
308314
309#[derive(Debug, PartialEq, Acyclic)]315#[derive(Debug, PartialEq, Acyclic)]
462}468}
463469
464#[derive(Clone, PartialEq, Acyclic)]470#[derive(Clone, PartialEq, Acyclic)]
465pub struct Spanned<T: Acyclic>(pub T, pub Span);471pub struct Spanned<T: Acyclic> {
472 pub value: T,
473 pub span: Span,
474}
466impl<T: Acyclic> Deref for Spanned<T> {475impl<T: Acyclic> Deref for Spanned<T> {
467 type Target = T;476 type Target = T;
468 fn deref(&self) -> &Self::Target {477 fn deref(&self) -> &Self::Target {
469 &self.0478 &self.value
470 }479 }
471}480}
472impl<T: Acyclic> Spanned<T> {481impl<T: Acyclic> Spanned<T> {
473 #[inline]482 #[inline]
474 pub fn new(v: T, s: Span) -> Self {483 pub fn new(value: T, span: Span) -> Self {
475 Self(v, s)484 Self { value, span }
476 }485 }
477 #[inline]
478 pub fn span(&self) -> Span {
479 self.1.clone()
480 }
481}486}
482487
483impl<T: Debug + Acyclic> Debug for Spanned<T> {488impl<T: Debug + Acyclic> Debug for Spanned<T> {
488 } else {493 } else {
489 write!(f, "{:?}", expr)?;494 write!(f, "{:?}", expr)?;
490 }495 }
491 write!(f, " from {:?}", self.span())?;496 write!(f, " from {:?}", self.span)?;
492 Ok(())497 Ok(())
493 }498 }
494}499}
modifiedcrates/jrsonnet-peg-parser/src/lib.rsdiffbeforeafterboth
181 / "::" {Visibility::Hidden}181 / "::" {Visibility::Hidden}
182 / ":" {Visibility::Normal}182 / ":" {Visibility::Normal}
183 pub rule field(s: &ParserSettings) -> FieldMember183 pub rule field(s: &ParserSettings) -> FieldMember
184 = name:field_name(s) _ plus:"+"? _ visibility:visibility() _ value:expr(s) {FieldMember{184 = name:spanned(<field_name(s)>, s) _ plus:"+"? _ visibility:visibility() _ value:expr(s) {FieldMember{
185 name,185 name,
186 plus: plus.is_some(),186 plus: plus.is_some(),
187 params: None,187 params: None,
188 visibility,188 visibility,
189 value: Rc::new(value),189 value: Rc::new(value),
190 }}190 }}
191 / name:field_name(s) _ "(" _ params:params(s) _ ")" _ visibility:visibility() _ value:expr(s) {FieldMember{191 / name:spanned(<field_name(s)>, s) _ "(" _ params:params(s) _ ")" _ visibility:visibility() _ value:expr(s) {FieldMember{
192 name,192 name,
193 plus: false,193 plus: false,
194 params: Some(params),194 params: Some(params),
239 })239 })
240 }240 }
241 pub rule ifspec(s: &ParserSettings) -> IfSpecData241 pub rule ifspec(s: &ParserSettings) -> IfSpecData
242 = keyword("if") _ expr:expr(s) {IfSpecData(expr)}242 = i:spanned(<keyword("if")>, s) _ cond:expr(s) {IfSpecData { span: i.span, cond }}
243 pub rule forspec(s: &ParserSettings) -> ForSpecData243 pub rule forspec(s: &ParserSettings) -> ForSpecData
244 = keyword("for") _ id:destruct(s) _ keyword("in") _ cond:expr(s) {ForSpecData(id, cond)}244 = keyword("for") _ destruct:destruct(s) _ keyword("in") _ over:expr(s) { ForSpecData { destruct, over } }
245 rule compspec(s: &ParserSettings) -> CompSpec245 rule compspec(s: &ParserSettings) -> CompSpec
246 = i:spanned(<ifspec(s)>, s) { CompSpec::IfSpec(i) } / f:spanned(<forspec(s)>, s) {CompSpec::ForSpec(f)}246 = i:ifspec(s) { CompSpec::IfSpec(i) } / f:forspec(s) {CompSpec::ForSpec(f)}
247 pub rule compspecs(s: &ParserSettings) -> Vec<CompSpec>247 pub rule compspecs(s: &ParserSettings) -> Vec<CompSpec>
248 = specs:compspec(s) ++ _ {?248 = specs:compspec(s) ++ _ {?
249 if !matches!(specs[0], CompSpec::ForSpec(_)) {249 if !matches!(specs[0], CompSpec::ForSpec(_)) {
319 assert, rest319 assert, rest
320 })) }320 })) }
321321
322 / err_kw:spanned(<keyword("error")>, s) _ expr:expr(s) { Expr::ErrorStmt(err_kw.1, Box::new(expr)) }322 / err_kw:spanned(<keyword("error")>, s) _ expr:expr(s) { Expr::ErrorStmt(err_kw.span, Box::new(expr)) }
323323
324 rule slice_part(s: &ParserSettings) -> Option<Spanned<Expr>>324 rule slice_part(s: &ParserSettings) -> Option<Spanned<Expr>>
325 = _ e:(e:spanned(<expr(s)>, s) _{e})? {e}325 = _ e:(e:spanned(<expr(s)>, s) _{e})? {e}
396 }396 }
397 pub rule index_part(s: &ParserSettings) -> IndexPart397 pub rule index_part(s: &ParserSettings) -> IndexPart
398 = n:("?" _ ensure_null_coaelse())? "." _ value:id_loc(s) {IndexPart {398 = n:("?" _ ensure_null_coaelse())? "." _ value:id_loc(s) {IndexPart {
399 span: value.1,399 span: value.span,
400 value: value.0,400 value: value.value,
401 #[cfg(feature = "exp-null-coaelse")]401 #[cfg(feature = "exp-null-coaelse")]
402 null_coaelse: n.is_some(),402 null_coaelse: n.is_some(),
403 }}403 }}
404 / n:("?" _ "." _ ensure_null_coaelse())? value:spanned(<"[" _ v:expr(s) _ "]" {v}>, s) {IndexPart {404 / n:("?" _ "." _ ensure_null_coaelse())? value:spanned(<"[" _ v:expr(s) _ "]" {v}>, s) {IndexPart {
405 span: value.1,405 span: value.span,
406 value: value.0,406 value: value.value,
407 #[cfg(feature = "exp-null-coaelse")]407 #[cfg(feature = "exp-null-coaelse")]
408 null_coaelse: n.is_some(),408 null_coaelse: n.is_some(),
409 }}409 }}
423}423}
424424
425#[cfg(test)]425#[cfg(test)]
426pub mod tests {426mod tests {
427 use std::fs;
428
427 use insta::assert_snapshot;429 use insta::{assert_snapshot, glob};
428 use jrsonnet_ir::{IStr, Source};430 use jrsonnet_ir::{IStr, Source};
429431
430 use super::parse;
431 use crate::ParserSettings;432 use crate::{parse, ParserSettings};
432433
434 #[test]
433 fn parsep(s: &str) -> String {435 fn snapshots() {
436 glob!("tests/*.jsonnet", |path| {
437 let input = fs::read_to_string(path).expect("read test file");
434 let v = parse(438 let v = parse(
435 s,439 &input,
436 &ParserSettings {440 &ParserSettings {
437 source: Source::new_virtual("<test>".into(), IStr::empty()),441 source: Source::new_virtual("<test>".into(), IStr::empty()),
438 },442 },
439 )443 )
440 .unwrap();444 .unwrap();
441 format!("{v:#?}")445 let v = format!("{v:#?}");
446 assert_snapshot!(v);
447 });
442 }448 }
443
444 macro_rules! parse {
445 ($s:expr) => {
446 assert_snapshot!(parsep($s));
447 };
448 }
449
450 #[test]
451 fn multiline_string() {
452 parse!("|||\n Hello world!\n a\n|||");
453 parse!("|||\n Hello world!\n a\n|||");
454 parse!("|||\n\t\tHello world!\n\t\t\ta\n|||");
455 parse!("|||\n Hello world!\n a\n |||");
456 }
457
458 #[test]
459 fn slice() {
460 parse!("a[1:]");
461 parse!("a[1::]");
462 parse!("a[:1:]");
463 parse!("a[::1]");
464 parse!("str[:len - 1]");
465 }
466
467 #[test]
468 fn string_escaping() {
469 parse!(r#""Hello, \"world\"!""#);
470 parse!(r#"'Hello \'world\'!'"#);
471 parse!(r#"'\\\\'"#);
472 }
473
474 #[test]
475 fn string_unescaping() {
476 parse!(r#""Hello\nWorld""#);
477 }
478
479 #[test]
480 fn string_verbantim() {
481 parse!(r#"@"Hello\n""World""""#);
482 }
483
484 #[test]
485 fn imports() {
486 parse!("import \"hello\"");
487 parse!("importstr \"garnish.txt\"");
488 parse!("importbin \"garnish.bin\"");
489 }
490
491 #[test]
492 fn empty_object() {
493 parse!("{}");
494 }
495
496 #[test]
497 fn basic_math() {
498 parse!("2+2*2");
499 parse!("2 + 2 * 2 ");
500 parse!("2+(2+2*2)");
501 parse!("2//comment\n+//comment\n3/*test*/*/*test*/4");
502 }
503
504 #[test]
505 fn suffix() {
506 parse!("std.test");
507 parse!("std(2)");
508 parse!("std.test(2)");
509 parse!("a[b]");
510 }
511
512 #[test]
513 fn array_comp() {
514 parse!("[std.deepJoin(x) for x in arr]");
515 }
516
517 #[test]
518 fn reserved() {
519 parse!("null");
520 parse!("nulla");
521 }
522
523 #[test]
524 fn multiple_args_buf() {
525 parse!("a(b, null_fields)");
526 }
527
528 #[test]
529 fn infix_precedence() {
530 parse!("!a && !b");
531 parse!("!a / !b");
532 }
533
534 #[test]
535 fn double_negation() {
536 parse!("!!a");
537 }
538
539 #[test]
540 fn array_test_error() {
541 parse!("[a for a in b if c for e in f]");
542 }
543
544 #[test]
545 fn missing_newline_between_comment_and_eof() {
546 parse!(
547 "{a:1}
548
549 //+213"
550 );
551 }
552
553 #[test]
554 fn default_param_before_nondefault() {
555 parse!("local x(foo = 'foo', bar) = null; null");
556 }
557
558 #[test]
559 fn add_location_info_to_all_sub_expressions() {
560 parse!("{} { local x = 1, x: x } + {}");
561 }
562}449}
563450
deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__add_location_info_to_all_sub_expressions.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__array_comp.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__array_test_error.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__basic_math.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__default_param_before_nondefault.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__double_negation.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__empty_object.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__imports.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__infix_precedence.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__missing_newline_between_comment_and_eof.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__multiline_string.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__multiple_args_buf.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__reserved.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__slice.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@array_comp.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@basic_math.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@comment_eof.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@default_nondefault.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@empty_object.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@imports.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@infix.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@multiline.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@reserved.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@slice.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@string_escaping.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@subexp.jsonnet.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__snapshots@suffix.jsonnet.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__string_escaping.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__string_unescaping.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__string_verbantim.snapdiffbeforeafterboth

no changes

deletedcrates/jrsonnet-peg-parser/src/snapshots/jrsonnet_peg_parser__tests__suffix.snapdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/array_comp.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/basic_math.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/comment_eof.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/default_nondefault.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/empty_object.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/imports.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/infix.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/multiline.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/reserved.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/slice.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/string_escaping.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/subexp.jsonnetdiffbeforeafterboth

no changes

addedcrates/jrsonnet-peg-parser/src/tests/suffix.jsonnetdiffbeforeafterboth

no changes

modifiedtests/cpp_test_suite_golden_override/error.01.jsonnet.goldendiffbeforeafterboth
1runtime error: foo1runtime error: foo
2 error.01.jsonnet:17:29-41: error statement2 error.01.jsonnet:17:29-35: error statement
3 error.01.jsonnet:18:29-40: function <bananas> call3 error.01.jsonnet:18:36-40: function <bananas> call
4 error.01.jsonnet:19:28-39: function <oranges> call4 error.01.jsonnet:19:35-39: function <oranges> call
5 error.01.jsonnet:20:1-11: function <apples> call5 error.01.jsonnet:20:7-11: function <apples> call
6
modifiedtests/cpp_test_suite_golden_override/error.02.jsonnet.goldendiffbeforeafterboth
1runtime error: Foo.1runtime error: Foo.
2 error.02.jsonnet:17:1-14: error statement2 error.02.jsonnet:17:1-7: error statement
3
modifiedtests/cpp_test_suite_golden_override/error.03.jsonnet.goldendiffbeforeafterboth
1runtime error: foo1runtime error: foo
2 error.03.jsonnet:17:21-33: error statement2 error.03.jsonnet:17:21-27: error statement
3 error.03.jsonnet:18:8-10: field <x> access3 error.03.jsonnet:18:8-10: field <x> access
4
modifiedtests/cpp_test_suite_golden_override/error.04.jsonnet.goldendiffbeforeafterboth
1runtime error: foo1runtime error: foo
2 error.04.jsonnet:17:21-33: error statement2 error.04.jsonnet:17:21-27: error statement
3 field <x> evaluation3 field <x> evaluation
4
modifiedtests/cpp_test_suite_golden_override/error.05.jsonnet.goldendiffbeforeafterboth
1runtime error: foo1runtime error: foo
2 error.05.jsonnet:17:21-33: error statement2 error.05.jsonnet:17:21-27: error statement
3 field <x> evaluation3 field <x> evaluation
4 field <y> manifestification4 field <y> manifestification
5
modifiedtests/cpp_test_suite_golden_override/error.06.jsonnet.goldendiffbeforeafterboth
1attempted to divide by zero1attempted to divide by zero
2 error.06.jsonnet:18:22-26: local <err> access2 error.06.jsonnet:18:22-26: local <err> access
3 error.06.jsonnet:19:1-5: function <f> call3 error.06.jsonnet:19:2-5: function <f> call
modifiedtests/cpp_test_suite_golden_override/error.07.jsonnet.goldendiffbeforeafterboth
1runtime error: sarcasm1runtime error: sarcasm
2 error.07.jsonnet:18:31-47: error statement2 error.07.jsonnet:18:31-37: error statement
3 error.07.jsonnet:18:15-55: function <third> call3 error.07.jsonnet:18:20-55: function <third> call
4 error.07.jsonnet:19:1-7: local <toxic> access4 error.07.jsonnet:19:1-7: local <toxic> access
modifiedtests/cpp_test_suite_golden_override/error.08.jsonnet.goldendiffbeforeafterboth
1runtime error: {"a": 1, "b": 2, "c": 3}1runtime error: {"a": 1, "b": 2, "c": 3}
2 error.08.jsonnet:18:1-9: error statement2 error.08.jsonnet:18:1-7: error statement
modifiedtests/cpp_test_suite_golden_override/error.assert_equal_obj.jsonnet.goldendiffbeforeafterboth
5B: {5B: {
6 "b": 16 "b": 1
7}7}
8 error.assert_equal_obj.jsonnet:17:1-37: function <builtin_assert_equal> call8 error.assert_equal_obj.jsonnet:17:16-37: function <builtin_assert_equal> call
modifiedtests/cpp_test_suite_golden_override/error.assert_equal_str.jsonnet.goldendiffbeforeafterboth
8four8four
99
10</B>10</B>
11 error.assert_equal_str.jsonnet:17:1-46: function <builtin_assert_equal> call11 error.assert_equal_str.jsonnet:17:16-46: function <builtin_assert_equal> call
modifiedtests/cpp_test_suite_golden_override/error.computed_field_scope.jsonnet.goldendiffbeforeafterboth
1local is not defined: x1local is not defined: x
2 error.computed_field_scope.jsonnet:17:21-23: local <x> access2 error.computed_field_scope.jsonnet:17:21-23: local <x> access
3 error.computed_field_scope.jsonnet:17:21-23: evaluating field name3 error.computed_field_scope.jsonnet:17:20-24: evaluating field name
modifiedtests/cpp_test_suite_golden_override/error.decodeUTF8_float.jsonnet.goldendiffbeforeafterboth
1runtime error: cannot convert number with fractional part to u81runtime error: cannot convert number with fractional part to u8
2 argument <arr> evaluation2 argument <arr> evaluation
3 error.decodeUTF8_float.jsonnet:1:1-24: function <builtin_decode_utf8> call3 error.decodeUTF8_float.jsonnet:1:15-24: function <builtin_decode_utf8> call
modifiedtests/cpp_test_suite_golden_override/error.decodeUTF8_nan.jsonnet.goldendiffbeforeafterboth
1type error: expected BoundedNumber<0, 255>, got string at self[0]1type error: expected BoundedNumber<0, 255>, got string at self[0]
2 array index 02 array index 0
3 argument <arr> evaluation3 argument <arr> evaluation
4 error.decodeUTF8_nan.jsonnet:1:1-25: function <builtin_decode_utf8> call4 error.decodeUTF8_nan.jsonnet:1:15-25: function <builtin_decode_utf8> call
modifiedtests/cpp_test_suite_golden_override/error.function_duplicate_arg.jsonnet.goldendiffbeforeafterboth
1argument x is already bound1argument x is already bound
2 error.function_duplicate_arg.jsonnet:17:1-30: function <anonymous> call2 error.function_duplicate_arg.jsonnet:17:21-30: function <anonymous> call
modifiedtests/cpp_test_suite_golden_override/error.function_too_many_args.jsonnet.goldendiffbeforeafterboth
1too many args, function has 21too many args, function has 2
2Function has the following signature: (a, b)2Function has the following signature: (a, b)
3 error.function_too_many_args.jsonnet:19:1-14: function <foo> call3 error.function_too_many_args.jsonnet:19:4-14: function <foo> call
modifiedtests/cpp_test_suite_golden_override/error.import_static-check-failure.jsonnet.goldendiffbeforeafterboth
1local is not defined: x1local is not defined: x
2 static_check_failure.jsonnet:2:1-3: local <x> access2 static_check_failure.jsonnet:2:1-3: local <x> access
3 error.import_static-check-failure.jsonnet:1:1-43: import "lib/static_check_failure.jsonnet"3 error.import_static-check-failure.jsonnet:1:1-8: import "lib/static_check_failure.jsonnet"
modifiedtests/cpp_test_suite_golden_override/error.import_syntax-error.jsonnet.goldendiffbeforeafterboth
1syntax error: expected one of "\\\\", "\\u", "\\x", ['"'], ['\\'], [_], got "EOF"1syntax error: expected one of "\\\\", "\\u", "\\x", ['"'], ['\\'], [_], got "EOF"
2 syntax_error.jsonnet:1:32 syntax_error.jsonnet:1:3
3 error.import_syntax-error.jsonnet:1:1-35: import "lib/syntax_error.jsonnet"3 error.import_syntax-error.jsonnet:1:1-8: import "lib/syntax_error.jsonnet"
modifiedtests/cpp_test_suite_golden_override/error.inside_equals_array.jsonnet.goldendiffbeforeafterboth
1runtime error: foobar1runtime error: foobar
2 error.inside_equals_array.jsonnet:18:18-33: error statement2 error.inside_equals_array.jsonnet:18:18-24: error statement
modifiedtests/cpp_test_suite_golden_override/error.inside_equals_object.jsonnet.goldendiffbeforeafterboth
1runtime error: foobar1runtime error: foobar
2 error.inside_equals_object.jsonnet:18:22-37: error statement2 error.inside_equals_object.jsonnet:18:22-28: error statement
modifiedtests/cpp_test_suite_golden_override/error.inside_tostring_array.jsonnet.goldendiffbeforeafterboth
1runtime error: foobar1runtime error: foobar
2 error.inside_tostring_array.jsonnet:17:8-23: error statement2 error.inside_tostring_array.jsonnet:17:8-14: error statement
3 elem <2> evaluation3 elem <2> evaluation
modifiedtests/cpp_test_suite_golden_override/error.inside_tostring_object.jsonnet.goldendiffbeforeafterboth
1runtime error: foobar1runtime error: foobar
2 error.inside_tostring_object.jsonnet:17:12-27: error statement2 error.inside_tostring_object.jsonnet:17:12-18: error statement
3 field <b> evaluation3 field <b> evaluation
modifiedtests/cpp_test_suite_golden_override/error.invariant.option.jsonnet.goldendiffbeforeafterboth
1type error: expected array, got string1type error: expected array, got string
2 argument <a> evaluation2 argument <a> evaluation
3 error.invariant.option.jsonnet:19:21-56: function <builtin_set_inter> call3 error.invariant.option.jsonnet:19:33-56: function <builtin_set_inter> call
4 argument <x> evaluation4 argument <x> evaluation
5 error.invariant.option.jsonnet:19:10-57: function <builtin_length> call5 error.invariant.option.jsonnet:19:20-57: function <builtin_length> call
6 error.invariant.option.jsonnet:19:10-61: assertion condition6 error.invariant.option.jsonnet:19:10-61: assertion condition
modifiedtests/cpp_test_suite_golden_override/error.invariant.simple3.jsonnet.goldendiffbeforeafterboth
1runtime error: my error message1runtime error: my error message
2 error.invariant.simple3.jsonnet:18:10-35: error statement2 error.invariant.simple3.jsonnet:18:10-16: error statement
3 error.invariant.simple3.jsonnet:18:10-35: assertion condition3 error.invariant.simple3.jsonnet:18:10-35: assertion condition
modifiedtests/cpp_test_suite_golden_override/error.manifest_toml_null_value.jsonnet.goldendiffbeforeafterboth
1runtime error: tried to manifest null1runtime error: tried to manifest null
2 error.manifest_toml_null_value.jsonnet:17:1-55: function <builtin_manifest_toml_ex> call2 error.manifest_toml_null_value.jsonnet:17:19-55: function <builtin_manifest_toml_ex> call
modifiedtests/cpp_test_suite_golden_override/error.manifest_toml_wrong_type.jsonnet.goldendiffbeforeafterboth
1type error: expected object, got array1type error: expected object, got array
2 argument <value> evaluation2 argument <value> evaluation
3 error.manifest_toml_wrong_type.jsonnet:17:1-30: function <builtin_manifest_toml_ex> call3 error.manifest_toml_wrong_type.jsonnet:17:19-30: function <builtin_manifest_toml_ex> call
modifiedtests/cpp_test_suite_golden_override/error.parse_json.jsonnet.goldendiffbeforeafterboth
1runtime error: failed to parse json: expected value at line 1 column 11runtime error: failed to parse json: expected value at line 1 column 1
2 error.parse_json.jsonnet:1:1-30: function <builtin_parse_json> call2 error.parse_json.jsonnet:1:14-30: function <builtin_parse_json> call
modifiedtests/cpp_test_suite_golden_override/error.recursive_function_nonterm.jsonnet.goldendiffbeforeafterboth
1stack overflow, try to reduce recursion, or set --max-stack to bigger value1stack overflow, try to reduce recursion, or set --max-stack to bigger value
2 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call2 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
3 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call3 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
4 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call4 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
5 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call5 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
6 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call6 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
7 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call7 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
8 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call8 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
9 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call9 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
10 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call10 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
11 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call11 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
12 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call12 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
13 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call13 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
14 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call14 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
15 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call15 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
16 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call16 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
17 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call17 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
18 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call18 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
19 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call19 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
20 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call20 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
21 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call21 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
22 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call22 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
23 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call23 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
24 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call24 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
25 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call25 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
26 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call26 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
27 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call27 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
28 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call28 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
29 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call29 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
30 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call30 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
31 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call31 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
32 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call32 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
33 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call33 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
34 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call34 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
35 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call35 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
36 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call36 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
37 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call37 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
38 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call38 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
39 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call39 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
40 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call40 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
41 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call41 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
42 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call42 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
43 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call43 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
44 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call44 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
45 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call45 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
46 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call46 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
47 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call47 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
48 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call48 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
49 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call49 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
50 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call50 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
51 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call51 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
52 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call52 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
53 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call53 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
54 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call54 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
55 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call55 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
56 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call56 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
57 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call57 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
58 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call58 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
59 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call59 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
60 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call60 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
61 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call61 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
62 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call62 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
63 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call63 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
64 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call64 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
65 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call65 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
66 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call66 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
67 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call67 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
68 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call68 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
69 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call69 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
70 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call70 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
71 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call71 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
72 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call72 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
73 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call73 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
74 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call74 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
75 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call75 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
76 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call76 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
77 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call77 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
78 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call78 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
79 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call79 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
80 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call80 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
81 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call81 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
82 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call82 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
83 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call83 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
84 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call84 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
85 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call85 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
86 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call86 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
87 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call87 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
88 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call88 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
89 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call89 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
90 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call90 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
91 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call91 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
92 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call92 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
93 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call93 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
94 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call94 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
95 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call95 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
96 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call96 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
97 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call97 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
98 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call98 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
99 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call99 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
100 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call100 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
101 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call101 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
102 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call102 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
103 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call103 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
104 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call104 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
105 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call105 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
106 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call106 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
107 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call107 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
108 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call108 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
109 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call109 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
110 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call110 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
111 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call111 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
112 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call112 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
113 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call113 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
114 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call114 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
115 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call115 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
116 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call116 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
117 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call117 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
118 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call118 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
119 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call119 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
120 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call120 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
121 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call121 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
122 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call122 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
123 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call123 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
124 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call124 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
125 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call125 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
126 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call126 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
127 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call127 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
128 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call128 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
129 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call129 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
130 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call130 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
131 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call131 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
132 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call132 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
133 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call133 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
134 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call134 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
135 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call135 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
136 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call136 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
137 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call137 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
138 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call138 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
139 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call139 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
140 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call140 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
141 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call141 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
142 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call142 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
143 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call143 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
144 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call144 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
145 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call145 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
146 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call146 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
147 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call147 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
148 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call148 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
149 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call149 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
150 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call150 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
151 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call151 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
152 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call152 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
153 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call153 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
154 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call154 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
155 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call155 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
156 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call156 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
157 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call157 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
158 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call158 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
159 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call159 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
160 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call160 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
161 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call161 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
162 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call162 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
163 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call163 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
164 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call164 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
165 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call165 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
166 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call166 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
167 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call167 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
168 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call168 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
169 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call169 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
170 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call170 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
171 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call171 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
172 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call172 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
173 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call173 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
174 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call174 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
175 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call175 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
176 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call176 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
177 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call177 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
178 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call178 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
179 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call179 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
180 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call180 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
181 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call181 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
182 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call182 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
183 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call183 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
184 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call184 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
185 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call185 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
186 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call186 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
187 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call187 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
188 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call188 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
189 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call189 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
190 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call190 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
191 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call191 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
192 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call192 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
193 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call193 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
194 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call194 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
195 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call195 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
196 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call196 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
197 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call197 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
198 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call198 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
199 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call199 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
200 error.recursive_function_nonterm.jsonnet:18:3-8: function <f> call200 error.recursive_function_nonterm.jsonnet:18:4-8: function <f> call
201 error.recursive_function_nonterm.jsonnet:20:1-7: function <f> call201 error.recursive_function_nonterm.jsonnet:20:2-7: function <f> call
modifiedtests/cpp_test_suite_golden_override/error.recursive_import.jsonnet.goldendiffbeforeafterboth
1infinite recursion detected1infinite recursion detected
2 error.recursive_import.jsonnet:17:15-55: import "error.recursive_import.jsonnet"2 error.recursive_import.jsonnet:17:15-22: import "error.recursive_import.jsonnet"
modifiedtests/cpp_test_suite_golden_override/error.sanity.jsonnet.goldendiffbeforeafterboth
1runtime error: assertion failed: A != B1runtime error: assertion failed: A != B
2A: 12A: 1
3B: 23B: 2
4 error.sanity.jsonnet:17:1-23: function <builtin_assert_equal> call4 error.sanity.jsonnet:17:16-23: function <builtin_assert_equal> call
modifiedtests/cpp_test_suite_golden_override/error.std_join_types1.jsonnet.goldendiffbeforeafterboth
1runtime error: in std.join all items should be strings1runtime error: in std.join all items should be strings
2 error.std_join_types1.jsonnet:17:1-27: function <builtin_join> call2 error.std_join_types1.jsonnet:17:9-27: function <builtin_join> call
modifiedtests/cpp_test_suite_golden_override/error.std_join_types2.jsonnet.goldendiffbeforeafterboth
1runtime error: in std.join all items should be arrays1runtime error: in std.join all items should be arrays
2 error.std_join_types2.jsonnet:17:1-32: function <builtin_join> call2 error.std_join_types2.jsonnet:17:9-32: function <builtin_join> call
modifiedtests/cpp_test_suite_golden_override/error.std_makeArray_negative.jsonnet.goldendiffbeforeafterboth
1type error: number out of bounds: -10 not in 0..21474836471type error: number out of bounds: -10 not in 0..2147483647
2 argument <sz> evaluation2 argument <sz> evaluation
3 error.std_makeArray_negative.jsonnet:17:1-38: function <builtin_make_array> call3 error.std_makeArray_negative.jsonnet:17:14-38: function <builtin_make_array> call
modifiedtests/cpp_test_suite_golden_override/error.std_maxArray.jsonnet.goldendiffbeforeafterboth
1runtime error: expected non-empty array1runtime error: expected non-empty array
2 error.std_maxArray.jsonnet:1:1-18: function <builtin_max_array> call2 error.std_maxArray.jsonnet:1:13-18: function <builtin_max_array> call
modifiedtests/cpp_test_suite_golden_override/error.std_minArray.jsonnet.goldendiffbeforeafterboth
1runtime error: expected non-empty array1runtime error: expected non-empty array
2 error.std_minArray.jsonnet:1:1-18: function <builtin_min_array> call2 error.std_minArray.jsonnet:1:13-18: function <builtin_min_array> call
modifiedtests/cpp_test_suite_golden_override/error.std_parseJson.nodigitsep.jsonnet.goldendiffbeforeafterboth
1runtime error: failed to parse json: trailing characters at line 1 column 41runtime error: failed to parse json: trailing characters at line 1 column 4
2 error.std_parseJson.nodigitsep.jsonnet:1:1-26: function <builtin_parse_json> call2 error.std_parseJson.nodigitsep.jsonnet:1:14-26: function <builtin_parse_json> call
modifiedtests/cpp_test_suite_golden_override/error.trace_three_param.jsonnet.goldendiffbeforeafterboth
1too many args, function has 21too many args, function has 2
2Function has the following signature: (str, rest = <default>)2Function has the following signature: (str, rest = <default>)
3 error.trace_three_param.jsonnet:17:11-33: function <builtin_trace> call3 error.trace_three_param.jsonnet:17:20-33: function <builtin_trace> call
4 error.trace_three_param.jsonnet:19:6-8: local <v> access4 error.trace_three_param.jsonnet:19:6-8: local <v> access
5 field <a> evaluation5 field <a> evaluation
modifiedtests/cpp_test_suite_golden_override/error.trace_zero_param.jsonnet.goldendiffbeforeafterboth
1function argument is not passed: str1function argument is not passed: str
2Function has the following signature: (str, rest = <default>)2Function has the following signature: (str, rest = <default>)
3 error.trace_zero_param.jsonnet:17:11-23: function <builtin_trace> call3 error.trace_zero_param.jsonnet:17:20-23: function <builtin_trace> call
4 error.trace_zero_param.jsonnet:19:6-8: local <v> access4 error.trace_zero_param.jsonnet:19:6-8: local <v> access
5 field <a> evaluation5 field <a> evaluation
modifiedtests/cpp_test_suite_golden_override/error.wrong_type.jsonnet.goldendiffbeforeafterboth
1type error: expected char, got number1type error: expected char, got number
2 argument <str> evaluation2 argument <str> evaluation
3 error.wrong_type.jsonnet:1:1-19: function <builtin_codepoint> call3 error.wrong_type.jsonnet:1:14-19: function <builtin_codepoint> call
modifiedtests/go_testdata_golden_override/arrcomp_if6.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 arrcomp_if6.jsonnet:1:20-30: error statement2 arrcomp_if6.jsonnet:1:20-26: error statement
modifiedtests/go_testdata_golden_override/assert_equal4.jsonnet.goldendiffbeforeafterboth
5B: {5B: {
6 "x": 26 "x": 2
7}7}
8 assert_equal4.jsonnet:1:1-33: function <builtin_assert_equal> call8 assert_equal4.jsonnet:1:16-33: function <builtin_assert_equal> call
modifiedtests/go_testdata_golden_override/assert_equal5.jsonnet.goldendiffbeforeafterboth
77
88
9</B>9</B>
10 assert_equal5.jsonnet:1:1-30: function <builtin_assert_equal> call10 assert_equal5.jsonnet:1:16-30: function <builtin_assert_equal> call
modifiedtests/go_testdata_golden_override/assert_equal6.jsonnet.goldendiffbeforeafterboth
5B: <B>5B: <B>
66
7</B>7</B>
8 assert_equal6.jsonnet:1:1-35: function <builtin_assert_equal> call8 assert_equal6.jsonnet:1:16-35: function <builtin_assert_equal> call
modifiedtests/go_testdata_golden_override/bad_function_call.jsonnet.goldendiffbeforeafterboth
1function argument is not passed: x1function argument is not passed: x
2Function has the following signature: (x)2Function has the following signature: (x)
3 bad_function_call.jsonnet:1:1-19: function <anonymous> call3 bad_function_call.jsonnet:1:16-19: function <anonymous> call
modifiedtests/go_testdata_golden_override/bad_function_call2.jsonnet.goldendiffbeforeafterboth
1too many args, function has 11too many args, function has 1
2Function has the following signature: (x)2Function has the following signature: (x)
3 bad_function_call2.jsonnet:1:1-23: function <anonymous> call3 bad_function_call2.jsonnet:1:16-23: function <anonymous> call
modifiedtests/go_testdata_golden_override/bad_function_call_and_error.jsonnet.goldendiffbeforeafterboth
1too many args, function has 11too many args, function has 1
2Function has the following signature: (x)2Function has the following signature: (x)
3 bad_function_call_and_error.jsonnet:1:1-39: function <anonymous> call3 bad_function_call_and_error.jsonnet:1:16-39: function <anonymous> call
modifiedtests/go_testdata_golden_override/bitwise_and4.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 bitwise_and4.jsonnet:1:5-15: error statement2 bitwise_and4.jsonnet:1:5-11: error statement
modifiedtests/go_testdata_golden_override/bitwise_xor7.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 bitwise_xor7.jsonnet:1:5-15: error statement2 bitwise_xor7.jsonnet:1:5-11: error statement
modifiedtests/go_testdata_golden_override/builtinBase64DecodeBytes_high_codepoint.jsonnet.goldendiffbeforeafterboth
1runtime error: invalid base64: Invalid symbol 196, offset 0.1runtime error: invalid base64: Invalid symbol 196, offset 0.
2 builtinBase64DecodeBytes_high_codepoint.jsonnet:1:1-30: function <builtin_base64_decode_bytes> call2 builtinBase64DecodeBytes_high_codepoint.jsonnet:1:22-30: function <builtin_base64_decode_bytes> call
modifiedtests/go_testdata_golden_override/builtinBase64DecodeBytes_invalid_base64_data.jsonnet.goldendiffbeforeafterboth
1runtime error: invalid base64: Invalid input length: 51runtime error: invalid base64: Invalid input length: 5
2 builtinBase64DecodeBytes_invalid_base64_data.jsonnet:1:1-32: function <builtin_base64_decode_bytes> call2 builtinBase64DecodeBytes_invalid_base64_data.jsonnet:1:22-32: function <builtin_base64_decode_bytes> call
modifiedtests/go_testdata_golden_override/builtinBase64DecodeBytes_wrong_type.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <str> evaluation2 argument <str> evaluation
3 builtinBase64DecodeBytes_wrong_type.jsonnet:1:1-26: function <builtin_base64_decode_bytes> call3 builtinBase64DecodeBytes_wrong_type.jsonnet:1:22-26: function <builtin_base64_decode_bytes> call
modifiedtests/go_testdata_golden_override/builtinBase64Decode_high_codepoint.jsonnet.goldendiffbeforeafterboth
1runtime error: invalid base64: Invalid symbol 196, offset 0.1runtime error: invalid base64: Invalid symbol 196, offset 0.
2 builtinBase64Decode_high_codepoint.jsonnet:1:1-25: function <builtin_base64_decode> call2 builtinBase64Decode_high_codepoint.jsonnet:1:17-25: function <builtin_base64_decode> call
modifiedtests/go_testdata_golden_override/builtinBase64Decode_invalid_base64_data.jsonnet.goldendiffbeforeafterboth
1runtime error: invalid base64: Invalid input length: 51runtime error: invalid base64: Invalid input length: 5
2 builtinBase64Decode_invalid_base64_data.jsonnet:1:1-27: function <builtin_base64_decode> call2 builtinBase64Decode_invalid_base64_data.jsonnet:1:17-27: function <builtin_base64_decode> call
modifiedtests/go_testdata_golden_override/builtinBase64Decode_wrong_type.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <str> evaluation2 argument <str> evaluation
3 builtinBase64Decode_wrong_type.jsonnet:1:1-21: function <builtin_base64_decode> call3 builtinBase64Decode_wrong_type.jsonnet:1:17-21: function <builtin_base64_decode> call
modifiedtests/go_testdata_golden_override/builtinBase64_invalid_byte_array.jsonnet.goldendiffbeforeafterboth
2 - expected string, got array2 - expected string, got array
3 - expected BoundedNumber<0, 255>, got string at self[1]3 - expected BoundedNumber<0, 255>, got string at self[1]
4 argument <input> evaluation4 argument <input> evaluation
5 builtinBase64_invalid_byte_array.jsonnet:1:1-24: function <builtin_base64> call5 builtinBase64_invalid_byte_array.jsonnet:1:11-24: function <builtin_base64> call
modifiedtests/go_testdata_golden_override/builtinBase64_invalid_byte_array1.jsonnet.goldendiffbeforeafterboth
2 - expected string, got array2 - expected string, got array
3 - number out of bounds: -1 not in 0..255 at self[1]3 - number out of bounds: -1 not in 0..255 at self[1]
4 argument <input> evaluation4 argument <input> evaluation
5 builtinBase64_invalid_byte_array1.jsonnet:1:1-21: function <builtin_base64> call5 builtinBase64_invalid_byte_array1.jsonnet:1:11-21: function <builtin_base64> call
modifiedtests/go_testdata_golden_override/builtinBase64_invalid_byte_array2.jsonnet.goldendiffbeforeafterboth
2 - expected string, got array2 - expected string, got array
3 - number out of bounds: 256 not in 0..255 at self[1]3 - number out of bounds: 256 not in 0..255 at self[1]
4 argument <input> evaluation4 argument <input> evaluation
5 builtinBase64_invalid_byte_array2.jsonnet:1:1-22: function <builtin_base64> call5 builtinBase64_invalid_byte_array2.jsonnet:1:11-22: function <builtin_base64> call
modifiedtests/go_testdata_golden_override/builtinBase64_non_string_non_array.jsonnet.goldendiffbeforeafterboth
2 - expected string, got number2 - expected string, got number
3 - expected Array<BoundedNumber<0, 255>>, got number3 - expected Array<BoundedNumber<0, 255>>, got number
4 argument <input> evaluation4 argument <input> evaluation
5 builtinBase64_non_string_non_array.jsonnet:1:1-15: function <builtin_base64> call5 builtinBase64_non_string_non_array.jsonnet:1:11-15: function <builtin_base64> call
modifiedtests/go_testdata_golden_override/builtinChar3.jsonnet.goldendiffbeforeafterboth
1type error: number out of bounds: -1 not in 0..42949672951type error: number out of bounds: -1 not in 0..4294967295
2 argument <n> evaluation2 argument <n> evaluation
3 builtinChar3.jsonnet:1:1-14: function <builtin_char> call3 builtinChar3.jsonnet:1:9-14: function <builtin_char> call
modifiedtests/go_testdata_golden_override/builtinChar5.jsonnet.goldendiffbeforeafterboth
1invalid unicode codepoint: 11141121invalid unicode codepoint: 1114112
2 builtinChar5.jsonnet:2:1-19: function <builtin_char> call2 builtinChar5.jsonnet:2:9-19: function <builtin_char> call
modifiedtests/go_testdata_golden_override/builtinChar7.jsonnet.goldendiffbeforeafterboth
1type error: expected BoundedNumber<0, 4294967295>, got string1type error: expected BoundedNumber<0, 4294967295>, got string
2 argument <n> evaluation2 argument <n> evaluation
3 builtinChar7.jsonnet:1:1-17: function <builtin_char> call3 builtinChar7.jsonnet:1:9-17: function <builtin_char> call
modifiedtests/go_testdata_golden_override/builtinIsEmpty2.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <str> evaluation2 argument <str> evaluation
3 builtinIsEmpty2.jsonnet:1:1-17: function <builtin_is_empty> call3 builtinIsEmpty2.jsonnet:1:12-17: function <builtin_is_empty> call
modifiedtests/go_testdata_golden_override/builtinObjectFieldsEx_bad.jsonnet.goldendiffbeforeafterboth
1type error: expected object, got number1type error: expected object, got number
2 argument <obj> evaluation2 argument <obj> evaluation
3 builtinObjectFieldsEx_bad.jsonnet:1:1-30: function <builtin_object_fields_ex> call3 builtinObjectFieldsEx_bad.jsonnet:1:19-30: function <builtin_object_fields_ex> call
modifiedtests/go_testdata_golden_override/builtinObjectFieldsEx_bad2.jsonnet.goldendiffbeforeafterboth
1type error: expected boolean, got string1type error: expected boolean, got string
2 argument <hidden> evaluation2 argument <hidden> evaluation
3 builtinObjectFieldsEx_bad2.jsonnet:1:1-31: function <builtin_object_fields_ex> call3 builtinObjectFieldsEx_bad2.jsonnet:1:19-31: function <builtin_object_fields_ex> call
modifiedtests/go_testdata_golden_override/builtinObjectHasExBadBoolean.jsonnet.goldendiffbeforeafterboth
1type error: expected boolean, got string1type error: expected boolean, got string
2 argument <hidden> evaluation2 argument <hidden> evaluation
3 builtinObjectHasExBadBoolean.jsonnet:1:1-35: function <builtin_object_has_ex> call3 builtinObjectHasExBadBoolean.jsonnet:1:16-35: function <builtin_object_has_ex> call
modifiedtests/go_testdata_golden_override/builtinObjectHasExBadField.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <fname> evaluation2 argument <fname> evaluation
3 builtinObjectHasExBadField.jsonnet:1:1-32: function <builtin_object_has_ex> call3 builtinObjectHasExBadField.jsonnet:1:16-32: function <builtin_object_has_ex> call
modifiedtests/go_testdata_golden_override/builtinObjectHasExBadObject.jsonnet.goldendiffbeforeafterboth
1type error: expected object, got number1type error: expected object, got number
2 argument <obj> evaluation2 argument <obj> evaluation
3 builtinObjectHasExBadObject.jsonnet:1:1-33: function <builtin_object_has_ex> call3 builtinObjectHasExBadObject.jsonnet:1:16-33: function <builtin_object_has_ex> call
modifiedtests/go_testdata_golden_override/builtinReverse_not_array.jsonnet.goldendiffbeforeafterboth
1type error: expected array, got boolean1type error: expected array, got boolean
2 argument <arr> evaluation2 argument <arr> evaluation
3 builtinReverse_not_array.jsonnet:1:1-20: function <builtin_reverse> call3 builtinReverse_not_array.jsonnet:1:12-20: function <builtin_reverse> call
modifiedtests/go_testdata_golden_override/builtinSplitLimitR5.jsonnet.goldendiffbeforeafterboth
2 - number out of bounds: -2 not in 0..90071992547409912 - number out of bounds: -2 not in 0..9007199254740991
3 - number out of bounds: -2 not in -1..-13 - number out of bounds: -2 not in -1..-1
4 argument <maxsplits> evaluation4 argument <maxsplits> evaluation
5 builtinSplitLimitR5.jsonnet:1:1-45: function <builtin_splitlimitr> call5 builtinSplitLimitR5.jsonnet:1:16-45: function <builtin_splitlimitr> call
modifiedtests/go_testdata_golden_override/builtinSubStr_first_param_not_string.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <str> evaluation2 argument <str> evaluation
3 builtinSubStr_first_param_not_string.jsonnet:1:1-21: function <builtin_substr> call3 builtinSubStr_first_param_not_string.jsonnet:1:11-21: function <builtin_substr> call
modifiedtests/go_testdata_golden_override/builtinSubStr_second_parameter_not_integer.jsonnet.goldendiffbeforeafterboth
1runtime error: cannot convert number with fractional part to usize1runtime error: cannot convert number with fractional part to usize
2 argument <from> evaluation2 argument <from> evaluation
3 builtinSubStr_second_parameter_not_integer.jsonnet:1:1-29: function <builtin_substr> call3 builtinSubStr_second_parameter_not_integer.jsonnet:1:11-29: function <builtin_substr> call
modifiedtests/go_testdata_golden_override/builtinSubStr_second_parameter_not_number.jsonnet.goldendiffbeforeafterboth
1type error: expected BoundedNumber<0, 9007199254740991>, got string1type error: expected BoundedNumber<0, 9007199254740991>, got string
2 argument <from> evaluation2 argument <from> evaluation
3 builtinSubStr_second_parameter_not_number.jsonnet:1:1-31: function <builtin_substr> call3 builtinSubStr_second_parameter_not_number.jsonnet:1:11-31: function <builtin_substr> call
modifiedtests/go_testdata_golden_override/builtinSubStr_third_parameter_less_then_zero.jsonnet.goldendiffbeforeafterboth
1type error: number out of bounds: -1 not in 0..90071992547409911type error: number out of bounds: -1 not in 0..9007199254740991
2 argument <len> evaluation2 argument <len> evaluation
3 builtinSubStr_third_parameter_less_then_zero.jsonnet:1:1-28: function <builtin_substr> call3 builtinSubStr_third_parameter_less_then_zero.jsonnet:1:11-28: function <builtin_substr> call
modifiedtests/go_testdata_golden_override/builtinSubStr_third_parameter_not_integer.jsonnet.goldendiffbeforeafterboth
1runtime error: cannot convert number with fractional part to usize1runtime error: cannot convert number with fractional part to usize
2 argument <len> evaluation2 argument <len> evaluation
3 builtinSubStr_third_parameter_not_integer.jsonnet:1:1-29: function <builtin_substr> call3 builtinSubStr_third_parameter_not_integer.jsonnet:1:11-29: function <builtin_substr> call
modifiedtests/go_testdata_golden_override/builtinSubStr_third_parameter_not_number.jsonnet.goldendiffbeforeafterboth
1type error: expected BoundedNumber<0, 9007199254740991>, got string1type error: expected BoundedNumber<0, 9007199254740991>, got string
2 argument <len> evaluation2 argument <len> evaluation
3 builtinSubStr_third_parameter_not_number.jsonnet:1:1-31: function <builtin_substr> call3 builtinSubStr_third_parameter_not_number.jsonnet:1:11-31: function <builtin_substr> call
modifiedtests/go_testdata_golden_override/builtinTrim4.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <str> evaluation2 argument <str> evaluation
3 builtinTrim4.jsonnet:1:1-14: function <builtin_trim> call3 builtinTrim4.jsonnet:1:9-14: function <builtin_trim> call
modifiedtests/go_testdata_golden_override/builtinXnor2.jsonnet.goldendiffbeforeafterboth
1type error: expected boolean, got string1type error: expected boolean, got string
2 argument <x> evaluation2 argument <x> evaluation
3 builtinXnor2.jsonnet:1:1-25: function <builtin_xnor> call3 builtinXnor2.jsonnet:1:9-25: function <builtin_xnor> call
modifiedtests/go_testdata_golden_override/builtinXor2.jsonnet.goldendiffbeforeafterboth
1type error: expected boolean, got string1type error: expected boolean, got string
2 argument <x> evaluation2 argument <x> evaluation
3 builtinXor2.jsonnet:1:1-24: function <builtin_xor> call3 builtinXor2.jsonnet:1:8-24: function <builtin_xor> call
modifiedtests/go_testdata_golden_override/builtin_exp3.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 builtin_exp3.jsonnet:1:1-15: function <builtin_exp> call2 builtin_exp3.jsonnet:1:8-15: function <builtin_exp> call
modifiedtests/go_testdata_golden_override/builtin_exp5.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 builtin_exp5.jsonnet:1:1-32: function <builtin_exp> call2 builtin_exp5.jsonnet:1:8-32: function <builtin_exp> call
modifiedtests/go_testdata_golden_override/builtin_log5.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 builtin_log5.jsonnet:1:1-12: function <builtin_log> call2 builtin_log5.jsonnet:1:8-12: function <builtin_log> call
modifiedtests/go_testdata_golden_override/builtin_log7.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 builtin_log7.jsonnet:1:1-13: function <builtin_log> call2 builtin_log7.jsonnet:1:8-13: function <builtin_log> call
modifiedtests/go_testdata_golden_override/builtin_log8.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 builtin_log8.jsonnet:1:1-25: function <builtin_log> call2 builtin_log8.jsonnet:1:8-25: function <builtin_log> call
modifiedtests/go_testdata_golden_override/builtin_manifestTomlEx_array.jsonnet.goldendiffbeforeafterboth
1type error: expected object, got array1type error: expected object, got array
2 argument <value> evaluation2 argument <value> evaluation
3 builtin_manifestTomlEx_array.jsonnet:11:10-42: function <builtin_manifest_toml_ex> call3 builtin_manifestTomlEx_array.jsonnet:11:28-42: function <builtin_manifest_toml_ex> call
4 field <array> evaluation4 field <array> evaluation
modifiedtests/go_testdata_golden_override/builtin_manifestTomlEx_null.jsonnet.goldendiffbeforeafterboth
1type error: expected object, got null1type error: expected object, got null
2 argument <value> evaluation2 argument <value> evaluation
3 builtin_manifestTomlEx_null.jsonnet:2:11-43: function <builtin_manifest_toml_ex> call3 builtin_manifestTomlEx_null.jsonnet:2:29-43: function <builtin_manifest_toml_ex> call
4 field <null> evaluation4 field <null> evaluation
modifiedtests/go_testdata_golden_override/builtin_member_object_invalid.jsonnet.goldendiffbeforeafterboth
2 - expected array, got object2 - expected array, got object
3 - expected string, got object3 - expected string, got object
4 argument <arr> evaluation4 argument <arr> evaluation
5 builtin_member_object_invalid.jsonnet:1:1-32: function <builtin_member> call5 builtin_member_object_invalid.jsonnet:1:11-32: function <builtin_member> call
modifiedtests/go_testdata_golden_override/builtin_parseInt_invalid.jsonnet.goldendiffbeforeafterboth
1runtime error: "hello" is not a base 10 integer1runtime error: "hello" is not a base 10 integer
2 builtin_parseInt_invalid.jsonnet:1:1-23: function <builtin_parse_int> call2 builtin_parseInt_invalid.jsonnet:1:13-23: function <builtin_parse_int> call
modifiedtests/go_testdata_golden_override/builtin_parseInt_invalid_decimal.jsonnet.goldendiffbeforeafterboth
1runtime error: "123.12" is not a base 10 integer1runtime error: "123.12" is not a base 10 integer
2 builtin_parseInt_invalid_decimal.jsonnet:1:1-24: function <builtin_parse_int> call2 builtin_parseInt_invalid_decimal.jsonnet:1:13-24: function <builtin_parse_int> call
modifiedtests/go_testdata_golden_override/builtin_parseInt_invalid_hexadecimal.jsonnet.goldendiffbeforeafterboth
1runtime error: "7B316" is not a base 10 integer1runtime error: "7B316" is not a base 10 integer
2 builtin_parseInt_invalid_hexadecimal.jsonnet:1:1-23: function <builtin_parse_int> call2 builtin_parseInt_invalid_hexadecimal.jsonnet:1:13-23: function <builtin_parse_int> call
modifiedtests/go_testdata_golden_override/builtin_sqrt2.jsonnet.goldendiffbeforeafterboth
1type error: expected BoundedNumber<0, open>, got string1type error: expected BoundedNumber<0, open>, got string
2 argument <x> evaluation2 argument <x> evaluation
3 builtin_sqrt2.jsonnet:1:1-20: function <builtin_sqrt> call3 builtin_sqrt2.jsonnet:1:9-20: function <builtin_sqrt> call
modifiedtests/go_testdata_golden_override/builtin_stripChars_invalid.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got object1type error: expected string, got object
2 argument <str> evaluation2 argument <str> evaluation
3 builtin_stripChars_invalid.jsonnet:1:1-4133: function <builtin_strip_chars> call3 builtin_stripChars_invalid.jsonnet:1:15-4133: function <builtin_strip_chars> call
modifiedtests/go_testdata_golden_override/double_thunk.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 double_thunk.jsonnet:1:21-33: error statement2 double_thunk.jsonnet:1:21-27: error statement
3 double_thunk.jsonnet:1:34-36: local <y> access3 double_thunk.jsonnet:1:34-36: local <y> access
4 double_thunk.jsonnet:1:37-39: local <x> access4 double_thunk.jsonnet:1:37-39: local <x> access
modifiedtests/go_testdata_golden_override/error.jsonnet.goldendiffbeforeafterboth
1runtime error: 421runtime error: 42
2 error.jsonnet:1:1-12: error statement2 error.jsonnet:1:1-7: error statement
modifiedtests/go_testdata_golden_override/error_from_array.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 error_from_array.jsonnet:1:2-14: error statement2 error_from_array.jsonnet:1:2-8: error statement
modifiedtests/go_testdata_golden_override/error_from_func.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 error_from_func.jsonnet:1:25-33: error statement2 error_from_func.jsonnet:1:25-31: error statement
3 error_from_func.jsonnet:1:34-45: function <foo> call3 error_from_func.jsonnet:1:37-45: function <foo> call
modifiedtests/go_testdata_golden_override/error_function_fail.jsonnet.goldendiffbeforeafterboth
1runtime error: tried to manifest function1runtime error: tried to manifest function
2 error_function_fail.jsonnet:1:1-24: error statement2 error_function_fail.jsonnet:1:1-7: error statement
modifiedtests/go_testdata_golden_override/error_in_method.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 error_in_method.jsonnet:1:23-31: error statement2 error_in_method.jsonnet:1:23-29: error statement
3 error_in_method.jsonnet:1:34-49: function <foo> call3 error_in_method.jsonnet:1:41-49: function <foo> call
modifiedtests/go_testdata_golden_override/error_in_object_local.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 error_in_object_local.jsonnet:1:20-30: error statement2 error_in_object_local.jsonnet:1:20-26: error statement
3 error_in_object_local.jsonnet:1:36-47: function <foo> call3 error_in_object_local.jsonnet:1:39-47: function <foo> call
4 field <baz> evaluation4 field <baz> evaluation
modifiedtests/go_testdata_golden_override/error_object.jsonnet.goldendiffbeforeafterboth
1runtime error: {"blah": 42}1runtime error: {"blah": 42}
2 error_object.jsonnet:1:1-22: error statement2 error_object.jsonnet:1:1-7: error statement
modifiedtests/go_testdata_golden_override/extvar_error.jsonnet.goldendiffbeforeafterboth
1external variable is not defined: errorVar1external variable is not defined: errorVar
2 extvar_error.jsonnet:1:1-24: function <builtin_ext_var> call2 extvar_error.jsonnet:1:11-24: function <builtin_ext_var> call
modifiedtests/go_testdata_golden_override/extvar_hermetic.jsonnet.goldendiffbeforeafterboth
1external variable is not defined: UndeclaredX1external variable is not defined: UndeclaredX
2 extvar_hermetic.jsonnet:1:15-41: function <builtin_ext_var> call2 extvar_hermetic.jsonnet:1:25-41: function <builtin_ext_var> call
modifiedtests/go_testdata_golden_override/extvar_not_a_string.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <x> evaluation2 argument <x> evaluation
3 extvar_not_a_string.jsonnet:1:1-16: function <builtin_ext_var> call3 extvar_not_a_string.jsonnet:1:11-16: function <builtin_ext_var> call
modifiedtests/go_testdata_golden_override/extvar_static_error.jsonnet.goldendiffbeforeafterboth
1external variable is not defined: staticErrorVar1external variable is not defined: staticErrorVar
2 extvar_static_error.jsonnet:1:1-30: function <builtin_ext_var> call2 extvar_static_error.jsonnet:1:11-30: function <builtin_ext_var> call
modifiedtests/go_testdata_golden_override/extvar_unknown.jsonnet.goldendiffbeforeafterboth
1external variable is not defined: UNKNOWN1external variable is not defined: UNKNOWN
2 extvar_unknown.jsonnet:1:1-23: function <builtin_ext_var> call2 extvar_unknown.jsonnet:1:11-23: function <builtin_ext_var> call
modifiedtests/go_testdata_golden_override/fieldname_not_string.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 fieldname_not_string.jsonnet:1:4-9: evaluating field name2 fieldname_not_string.jsonnet:1:3-10: evaluating field name
modifiedtests/go_testdata_golden_override/import_syntax_error.jsonnet.goldendiffbeforeafterboth
1syntax error: expected one of "(", "[", "{", <identifier>, <number>, <string>, <unary op>, ['"'], ['\''], got "EOF"1syntax error: expected one of "(", "[", "{", <identifier>, <number>, <string>, <unary op>, ['"'], ['\''], got "EOF"
2 syntax_error.jsonnet:1:52 syntax_error.jsonnet:1:5
3 import_syntax_error.jsonnet:1:1-31: import "syntax_error.jsonnet"3 import_syntax_error.jsonnet:1:1-8: import "syntax_error.jsonnet"
modifiedtests/go_testdata_golden_override/lazy_operator2.jsonnet.goldendiffbeforeafterboth
1runtime error: should happen1runtime error: should happen
2 lazy_operator2.jsonnet:1:9-31: error statement2 lazy_operator2.jsonnet:1:9-15: error statement
modifiedtests/go_testdata_golden_override/object_comp_assert.jsonnet.goldendiffbeforeafterboth
1syntax error: expected one of "(", ".", "?", "[", "{", "}", <binary op>, got "f"1syntax error: expected one of "(", ".", "?", "[", "{", <binary op>, got "}"
2 object_comp_assert.jsonnet:1:322 object_comp_assert.jsonnet:1:46
modifiedtests/go_testdata_golden_override/object_comp_bad_field.jsonnet.goldendiffbeforeafterboth
1syntax error: expected one of "(", ".", "?", "[", "{", "}", <binary op>, got "f"1{
2 object_comp_bad_field.jsonnet:1:92 "x": 42
3}
modifiedtests/go_testdata_golden_override/object_comp_bad_field2.jsonnet.goldendiffbeforeafterboth
1syntax error: expected one of "(", ".", "?", "[", "{", "}", <binary op>, got "f"1{
2 object_comp_bad_field2.jsonnet:1:112 "x": 42
3}
modifiedtests/go_testdata_golden_override/object_comp_duplicate.jsonnet.goldendiffbeforeafterboth
1duplicate field name: x1duplicate field name: x
2 object_comp_duplicate.jsonnet:1:8-10: field <x> initializtion2 object_comp_duplicate.jsonnet:1:3-7: field <x> initializtion
modifiedtests/go_testdata_golden_override/object_comp_err_elem.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 object_comp_err_elem.jsonnet:1:11-23: error statement2 object_comp_err_elem.jsonnet:1:11-17: error statement
3 field <x> evaluation3 field <x> evaluation
modifiedtests/go_testdata_golden_override/object_comp_err_index.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 object_comp_err_index.jsonnet:1:4-16: error statement2 object_comp_err_index.jsonnet:1:4-10: error statement
3 object_comp_err_index.jsonnet:1:4-16: evaluating field name3 object_comp_err_index.jsonnet:1:3-17: evaluating field name
modifiedtests/go_testdata_golden_override/object_comp_illegal.jsonnet.goldendiffbeforeafterboth
1syntax error: expected one of "(", ".", "?", "[", "{", "}", <binary op>, got "f"1syntax error: expected one of "(", ".", "?", "[", "{", <binary op>, got "}"
2 object_comp_illegal.jsonnet:1:152 object_comp_illegal.jsonnet:1:34
modifiedtests/go_testdata_golden_override/object_comp_int_index.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 object_comp_int_index.jsonnet:1:4-6: evaluating field name2 object_comp_int_index.jsonnet:1:3-7: evaluating field name
modifiedtests/go_testdata_golden_override/object_invariant13.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 object_invariant13.jsonnet:1:10-20: error statement2 object_invariant13.jsonnet:1:10-16: error statement
3 object_invariant13.jsonnet:1:10-20: assertion condition3 object_invariant13.jsonnet:1:10-20: assertion condition
modifiedtests/go_testdata_golden_override/optional_args11.jsonnet.goldendiffbeforeafterboth
1argument x is already bound1argument x is already bound
2 optional_args11.jsonnet:1:1-31: function <anonymous> call2 optional_args11.jsonnet:1:20-31: function <anonymous> call
modifiedtests/go_testdata_golden_override/optional_args13.jsonnet.goldendiffbeforeafterboth
1function argument is not passed: y1function argument is not passed: y
2Function has the following signature: (x, y)2Function has the following signature: (x, y)
3 optional_args13.jsonnet:1:1-27: function <anonymous> call3 optional_args13.jsonnet:1:20-27: function <anonymous> call
modifiedtests/go_testdata_golden_override/optional_args8.jsonnet.goldendiffbeforeafterboth
1parameter y is not defined1parameter y is not defined
2 optional_args8.jsonnet:2:1-11: function <foo> call2 optional_args8.jsonnet:2:4-11: function <foo> call
modifiedtests/go_testdata_golden_override/optional_args9.jsonnet.goldendiffbeforeafterboth
1argument x is already bound1argument x is already bound
2 optional_args9.jsonnet:1:1-27: function <anonymous> call2 optional_args9.jsonnet:1:16-27: function <anonymous> call
modifiedtests/go_testdata_golden_override/or4.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 or4.jsonnet:1:10-22: error statement2 or4.jsonnet:1:10-16: error statement
modifiedtests/go_testdata_golden_override/pow4.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 pow4.jsonnet:1:1-18: function <builtin_pow> call2 pow4.jsonnet:1:8-18: function <builtin_pow> call
modifiedtests/go_testdata_golden_override/pow7.jsonnet.goldendiffbeforeafterboth
1convert num value: non-finite1convert num value: non-finite
2 pow7.jsonnet:2:1-24: function <builtin_pow> call2 pow7.jsonnet:2:8-24: function <builtin_pow> call
modifiedtests/go_testdata_golden_override/pow8.jsonnet.goldendiffbeforeafterboth
1type error: expected number, got string1type error: expected number, got string
2 argument <x> evaluation2 argument <x> evaluation
3 pow8.jsonnet:1:1-20: function <builtin_pow> call3 pow8.jsonnet:1:8-20: function <builtin_pow> call
modifiedtests/go_testdata_golden_override/pow9.jsonnet.goldendiffbeforeafterboth
1type error: expected number, got string1type error: expected number, got string
2 argument <n> evaluation2 argument <n> evaluation
3 pow9.jsonnet:1:1-20: function <builtin_pow> call3 pow9.jsonnet:1:8-20: function <builtin_pow> call
modifiedtests/go_testdata_golden_override/recursive_thunk.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 recursive_thunk.jsonnet:1:35-47: error statement2 recursive_thunk.jsonnet:1:35-41: error statement
3 recursive_thunk.jsonnet:2:16-39: function <bar> call3 recursive_thunk.jsonnet:2:19-39: function <bar> call
4 recursive_thunk.jsonnet:2:20-31: function <foo> call4 recursive_thunk.jsonnet:2:23-31: function <foo> call
5 recursive_thunk.jsonnet:1:52-55: local <th> access5 recursive_thunk.jsonnet:1:52-55: local <th> access
6 recursive_thunk.jsonnet:2:16-39: function <bar> call6 recursive_thunk.jsonnet:2:19-39: function <bar> call
7 recursive_thunk.jsonnet:2:20-31: function <foo> call7 recursive_thunk.jsonnet:2:23-31: function <foo> call
8 recursive_thunk.jsonnet:1:52-55: local <th> access8 recursive_thunk.jsonnet:1:52-55: local <th> access
9 recursive_thunk.jsonnet:2:16-39: function <bar> call9 recursive_thunk.jsonnet:2:19-39: function <bar> call
10 recursive_thunk.jsonnet:3:1-8: function <foo> call10 recursive_thunk.jsonnet:3:4-8: function <foo> call
modifiedtests/go_testdata_golden_override/std.codepoint3.jsonnet.goldendiffbeforeafterboth
1type error: expected char, got string1type error: expected char, got string
2 argument <str> evaluation2 argument <str> evaluation
3 std.codepoint3.jsonnet:1:1-21: function <builtin_codepoint> call3 std.codepoint3.jsonnet:1:14-21: function <builtin_codepoint> call
modifiedtests/go_testdata_golden_override/std.codepoint6.jsonnet.goldendiffbeforeafterboth
1type error: expected char, got string1type error: expected char, got string
2 argument <str> evaluation2 argument <str> evaluation
3 std.codepoint6.jsonnet:1:1-19: function <builtin_codepoint> call3 std.codepoint6.jsonnet:1:14-19: function <builtin_codepoint> call
modifiedtests/go_testdata_golden_override/std.codepoint8.jsonnet.goldendiffbeforeafterboth
1type error: expected char, got number1type error: expected char, got number
2 argument <str> evaluation2 argument <str> evaluation
3 std.codepoint8.jsonnet:1:1-19: function <builtin_codepoint> call3 std.codepoint8.jsonnet:1:14-19: function <builtin_codepoint> call
modifiedtests/go_testdata_golden_override/std.filter2.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 std.filter2.jsonnet:1:12-22: error statement2 std.filter2.jsonnet:1:12-18: error statement
3 argument <func> evaluation3 argument <func> evaluation
4 std.filter2.jsonnet:1:1-27: function <builtin_filter> call4 std.filter2.jsonnet:1:11-27: function <builtin_filter> call
modifiedtests/go_testdata_golden_override/std.filter4.jsonnet.goldendiffbeforeafterboth
1type error: expected function, got number1type error: expected function, got number
2 argument <func> evaluation2 argument <func> evaluation
3 std.filter4.jsonnet:1:1-20: function <builtin_filter> call3 std.filter4.jsonnet:1:11-20: function <builtin_filter> call
modifiedtests/go_testdata_golden_override/std.filter5.jsonnet.goldendiffbeforeafterboth
1type error: expected array, got number1type error: expected array, got number
2 argument <arr> evaluation2 argument <arr> evaluation
3 std.filter5.jsonnet:1:1-32: function <builtin_filter> call3 std.filter5.jsonnet:1:11-32: function <builtin_filter> call
modifiedtests/go_testdata_golden_override/std.filter6.jsonnet.goldendiffbeforeafterboth
1type error: expected function, got number1type error: expected function, got number
2 argument <func> evaluation2 argument <func> evaluation
3 std.filter6.jsonnet:1:1-22: function <builtin_filter> call3 std.filter6.jsonnet:1:11-22: function <builtin_filter> call
modifiedtests/go_testdata_golden_override/std.filter8.jsonnet.goldendiffbeforeafterboth
1type error: expected function, got array1type error: expected function, got array
2 argument <func> evaluation2 argument <func> evaluation
3 std.filter8.jsonnet:1:1-37: function <builtin_filter> call3 std.filter8.jsonnet:1:11-37: function <builtin_filter> call
modifiedtests/go_testdata_golden_override/std.filter_swapped_args.jsonnet.goldendiffbeforeafterboth
1type error: expected function, got array1type error: expected function, got array
2 argument <func> evaluation2 argument <func> evaluation
3 std.filter_swapped_args.jsonnet:1:1-39: function <builtin_filter> call3 std.filter_swapped_args.jsonnet:1:11-39: function <builtin_filter> call
modifiedtests/go_testdata_golden_override/std.flatmap5.jsonnet.goldendiffbeforeafterboth
1runtime error: a1runtime error: a
2 std.flatmap5.jsonnet:1:21-29: error statement2 std.flatmap5.jsonnet:1:21-27: error statement
3 std.flatmap5.jsonnet:2:10-49: function <builtin_flatmap> call3 std.flatmap5.jsonnet:2:21-49: function <builtin_flatmap> call
4 argument <x> evaluation4 argument <x> evaluation
5 std.flatmap5.jsonnet:2:1-50: function <builtin_type> call5 std.flatmap5.jsonnet:2:9-50: function <builtin_type> call
modifiedtests/go_testdata_golden_override/std.join7.jsonnet.goldendiffbeforeafterboth
1runtime error: in std.join all items should be strings1runtime error: in std.join all items should be strings
2 std.join7.jsonnet:1:1-28: function <builtin_join> call2 std.join7.jsonnet:1:9-28: function <builtin_join> call
modifiedtests/go_testdata_golden_override/std.join8.jsonnet.goldendiffbeforeafterboth
1runtime error: in std.join all items should be arrays1runtime error: in std.join all items should be arrays
2 std.join8.jsonnet:1:1-34: function <builtin_join> call2 std.join8.jsonnet:1:9-34: function <builtin_join> call
modifiedtests/go_testdata_golden_override/std.makeArrayNamed3.jsonnet.goldendiffbeforeafterboth
1parameter blahblah is not defined1parameter blahblah is not defined
2 std.makeArrayNamed3.jsonnet:1:1-55: function <builtin_make_array> call2 std.makeArrayNamed3.jsonnet:1:14-55: function <builtin_make_array> call
modifiedtests/go_testdata_golden_override/std.makeArray_bad.jsonnet.goldendiffbeforeafterboth
1type error: expected BoundedNumber<0, 2147483647>, got string1type error: expected BoundedNumber<0, 2147483647>, got string
2 argument <sz> evaluation2 argument <sz> evaluation
3 std.makeArray_bad.jsonnet:1:1-37: function <builtin_make_array> call3 std.makeArray_bad.jsonnet:1:14-37: function <builtin_make_array> call
modifiedtests/go_testdata_golden_override/std.makeArray_bad2.jsonnet.goldendiffbeforeafterboth
1type error: expected function, got string1type error: expected function, got string
2 argument <func> evaluation2 argument <func> evaluation
3 std.makeArray_bad2.jsonnet:1:1-26: function <builtin_make_array> call3 std.makeArray_bad2.jsonnet:1:14-26: function <builtin_make_array> call
modifiedtests/go_testdata_golden_override/std.makeArray_noninteger.jsonnet.goldendiffbeforeafterboth
1runtime error: cannot convert number with fractional part to i321runtime error: cannot convert number with fractional part to i32
2 argument <sz> evaluation2 argument <sz> evaluation
3 std.makeArray_noninteger.jsonnet:1:1-35: function <builtin_make_array> call3 std.makeArray_noninteger.jsonnet:1:14-35: function <builtin_make_array> call
modifiedtests/go_testdata_golden_override/std.makeArray_noninteger_big.jsonnet.goldendiffbeforeafterboth
1type error: number out of bounds: 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 not in 0..21474836471type error: number out of bounds: 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 not in 0..2147483647
2 argument <sz> evaluation2 argument <sz> evaluation
3 std.makeArray_noninteger_big.jsonnet:1:1-37: function <builtin_make_array> call3 std.makeArray_noninteger_big.jsonnet:1:14-37: function <builtin_make_array> call
modifiedtests/go_testdata_golden_override/std.manifestYamlDoc_error.jsonnet.goldendiffbeforeafterboth
1runtime error: foo1runtime error: foo
2 std.manifestYamlDoc_error.jsonnet:1:31-43: error statement2 std.manifestYamlDoc_error.jsonnet:1:31-37: error statement
3 field <y> evaluation3 field <y> evaluation
4 field <x> manifestification4 field <x> manifestification
5 std.manifestYamlDoc_error.jsonnet:1:1-48: function <builtin_manifest_yaml_doc> call5 std.manifestYamlDoc_error.jsonnet:1:20-48: function <builtin_manifest_yaml_doc> call
modifiedtests/go_testdata_golden_override/std.maxArrayOnEmpty.jsonnet.goldendiffbeforeafterboth
1runtime error: expected non-empty array1runtime error: expected non-empty array
2 std.maxArrayOnEmpty.jsonnet:1:1-18: function <builtin_max_array> call2 std.maxArrayOnEmpty.jsonnet:1:13-18: function <builtin_max_array> call
modifiedtests/go_testdata_golden_override/std.md5_6.jsonnet.goldendiffbeforeafterboth
1type error: expected string, got number1type error: expected string, got number
2 argument <s> evaluation2 argument <s> evaluation
3 std.md5_6.jsonnet:1:1-13: function <builtin_md5> call3 std.md5_6.jsonnet:1:8-13: function <builtin_md5> call
modifiedtests/go_testdata_golden_override/std.minArrayOnEmpty.jsonnet.goldendiffbeforeafterboth
1runtime error: expected non-empty array1runtime error: expected non-empty array
2 std.minArrayOnEmpty.jsonnet:1:1-18: function <builtin_min_array> call2 std.minArrayOnEmpty.jsonnet:1:13-18: function <builtin_min_array> call
modifiedtests/go_testdata_golden_override/std.modulo2.jsonnet.goldendiffbeforeafterboth
1type error: expected number, got string1type error: expected number, got string
2 argument <x> evaluation2 argument <x> evaluation
3 std.modulo2.jsonnet:1:1-23: function <builtin_modulo> call3 std.modulo2.jsonnet:1:11-23: function <builtin_modulo> call
modifiedtests/go_testdata_golden_override/std.modulo3.jsonnet.goldendiffbeforeafterboth
1type error: expected number, got string1type error: expected number, got string
2 argument <x> evaluation2 argument <x> evaluation
3 std.modulo3.jsonnet:1:1-23: function <builtin_modulo> call3 std.modulo3.jsonnet:1:11-23: function <builtin_modulo> call
modifiedtests/go_testdata_golden_override/std.primitiveEquals10.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 std.primitiveEquals10.jsonnet:1:21-31: error statement2 std.primitiveEquals10.jsonnet:1:21-27: error statement
3 argument <x> evaluation3 argument <x> evaluation
4 std.primitiveEquals10.jsonnet:1:1-36: function <builtin_primitive_equals> call4 std.primitiveEquals10.jsonnet:1:20-36: function <builtin_primitive_equals> call
modifiedtests/go_testdata_golden_override/std.primitiveEquals13.jsonnet.goldendiffbeforeafterboth
1runtime error: primitiveEquals operates on primitive types, got array1runtime error: primitiveEquals operates on primitive types, got array
2 std.primitiveEquals13.jsonnet:1:1-29: function <builtin_primitive_equals> call2 std.primitiveEquals13.jsonnet:1:20-29: function <builtin_primitive_equals> call
modifiedtests/go_testdata_golden_override/std.primitiveEquals6.jsonnet.goldendiffbeforeafterboth
1runtime error: primitiveEquals operates on primitive types, got object1runtime error: primitiveEquals operates on primitive types, got object
2 std.primitiveEquals6.jsonnet:1:1-29: function <builtin_primitive_equals> call2 std.primitiveEquals6.jsonnet:1:20-29: function <builtin_primitive_equals> call
modifiedtests/go_testdata_golden_override/std.primitiveEquals7.jsonnet.goldendiffbeforeafterboth
1runtime error: cannot test equality of functions1runtime error: cannot test equality of functions
2 std.primitiveEquals7.jsonnet:1:1-51: function <builtin_primitive_equals> call2 std.primitiveEquals7.jsonnet:1:20-51: function <builtin_primitive_equals> call
modifiedtests/go_testdata_golden_override/std.primitiveEquals9.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 std.primitiveEquals9.jsonnet:1:25-35: error statement2 std.primitiveEquals9.jsonnet:1:25-31: error statement
3 argument <y> evaluation3 argument <y> evaluation
4 std.primitiveEquals9.jsonnet:1:1-36: function <builtin_primitive_equals> call4 std.primitiveEquals9.jsonnet:1:20-36: function <builtin_primitive_equals> call
modifiedtests/go_testdata_golden_override/std.sort3.jsonnet.goldendiffbeforeafterboth
1runtime error: foo1runtime error: foo
2 std.sort3.jsonnet:1:16-28: error statement2 std.sort3.jsonnet:1:16-22: error statement
3 std.sort3.jsonnet:1:1-30: function <builtin_sort> call3 std.sort3.jsonnet:1:9-30: function <builtin_sort> call
modifiedtests/go_testdata_golden_override/std.sort4.jsonnet.goldendiffbeforeafterboth
1binary operation array < number is not implemented1binary operation array < number is not implemented
2 std.sort4.jsonnet:1:1-30: function <builtin_sort> call2 std.sort4.jsonnet:1:9-30: function <builtin_sort> call
modifiedtests/go_testdata_golden_override/std.toString5.jsonnet.goldendiffbeforeafterboth
1runtime error: x1runtime error: x
2 std.toString5.jsonnet:1:14-24: error statement2 std.toString5.jsonnet:1:14-20: error statement
3 argument <a> evaluation3 argument <a> evaluation
4 std.toString5.jsonnet:1:1-25: function <builtin_to_string> call4 std.toString5.jsonnet:1:13-25: function <builtin_to_string> call
modifiedtests/go_testdata_golden_override/strReplace3.jsonnet.goldendiffbeforeafterboth
1runtime error: 'from' string must not be zero length1runtime error: 'from' string must not be zero length
2 strReplace3.jsonnet:1:1-36: function <builtin_str_replace> call2 strReplace3.jsonnet:1:15-36: function <builtin_str_replace> call
modifiedtests/go_testdata_golden_override/tailstrict2.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 tailstrict2.jsonnet:1:13-21: error statement2 tailstrict2.jsonnet:1:13-19: error statement
3 tailstrict2.jsonnet:2:14-19: function <e> call3 tailstrict2.jsonnet:2:15-19: function <e> call
modifiedtests/go_testdata_golden_override/too_many_arguments.jsonnet.goldendiffbeforeafterboth
1too many args, function has 31too many args, function has 3
2Function has the following signature: (x, y, z)2Function has the following signature: (x, y, z)
3 too_many_arguments.jsonnet:1:1-36: function <anonymous> call3 too_many_arguments.jsonnet:1:23-36: function <anonymous> call
modifiedtests/go_testdata_golden_override/type_error.jsonnet.goldendiffbeforeafterboth
1runtime error: xxx1runtime error: xxx
2 type_error.jsonnet:1:10-22: error statement2 type_error.jsonnet:1:10-16: error statement
3 argument <x> evaluation3 argument <x> evaluation
4 type_error.jsonnet:1:1-23: function <builtin_type> call4 type_error.jsonnet:1:9-23: function <builtin_type> call
modifiedtests/tests/snapshots/golden__golden@issue187.rev.jsonnet.snapdiffbeforeafterboth
4input_file: tests/golden/issue187.rev.jsonnet4input_file: tests/golden/issue187.rev.jsonnet
5---5---
6runtime error: bad utf86runtime error: bad utf8
7 issue187.rev.jsonnet:1:1-92: function <builtin_decode_utf8> call7 issue187.rev.jsonnet:1:15-92: function <builtin_decode_utf8> call
88
modifiedtests/tests/snapshots/golden__golden@issue23.jsonnet.snapdiffbeforeafterboth
4input_file: tests/golden/issue23.jsonnet4input_file: tests/golden/issue23.jsonnet
5---5---
6infinite recursion detected6infinite recursion detected
7 issue23.jsonnet:1:1-26: import "issue23.jsonnet"7 issue23.jsonnet:1:1-8: import "issue23.jsonnet"
88
modifiedtests/tests/snapshots/golden__golden@issue40.jsonnet.snapdiffbeforeafterboth
5---5---
6assert failed: is number6assert failed: is number
7 issue40.jsonnet:6:10-31: assertion failure7 issue40.jsonnet:6:10-31: assertion failure
8 issue40.jsonnet:9:1-32: function <builtin_manifest_json_ex> call8 issue40.jsonnet:9:19-32: function <builtin_manifest_json_ex> call
99
modifiedtests/tests/snapshots/golden__golden@test_assertThrow.jsonnet.snapdiffbeforeafterboth
4input_file: tests/golden/test_assertThrow.jsonnet4input_file: tests/golden/test_assertThrow.jsonnet
5---5---
6runtime error: expected argument to throw on evaluation, but it returned instead6runtime error: expected argument to throw on evaluation, but it returned instead
7 test_assertThrow.jsonnet:2:1-26: function <assert_throw> call7 test_assertThrow.jsonnet:2:17-26: function <assert_throw> call
88