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

difftreelog

test fix build

Yaroslav Bolyukin2023-08-10parent: #4ab075d.patch.diff
in: master

2 files changed

modifiedbindings/jsonnet/src/val_modify.rsdiffbeforeafterboth
25 }25 }
2626
27 new.push(Thunk::evaluated(val.clone()));27 new.push(Thunk::evaluated(val.clone()));
28 *arr = Val::Arr(ArrValue::lazy(Cc::new(new)));28 *arr = Val::Arr(ArrValue::lazy(new));
29 }29 }
30 _ => panic!("should receive array"),30 _ => panic!("should receive array"),
31 }31 }
modifiedcrates/jrsonnet-parser/src/lib.rsdiffbeforeafterboth
--- a/crates/jrsonnet-parser/src/lib.rs
+++ b/crates/jrsonnet-parser/src/lib.rs
@@ -635,9 +635,13 @@
 							el!(
 								Index {
 									indexable: el!(Var("std".into()), 1, 4),
-									index: el!(Str("deepJoin".into()), 5, 13),
-									#[cfg(feature = "exp-null-coaelse")]
-									null_coaelse: false,
+									parts: vec![
+										IndexPart {
+											value: el!(Str("deepJoin".into()), 5, 13),
+											#[cfg(feature = "exp-null-coaelse")]
+											null_coaelse: false,
+										},
+									],
 								},
 								1,
 								13