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

difftreelog

docs loop_invariant context note

stzyzpxsYaroslav Bolyukin2026-05-21parent: #40d81c2.patch.diff
in: master

1 file changed

modifiedcrates/jrsonnet-evaluator/src/analyze.rsdiffbeforeafterboth
437 destruct: LDestruct,437 destruct: LDestruct,
438 over: LExpr,438 over: LExpr,
439 /// Is `over` does not depend on any variable introduced by an earlier for-spec in this comprehension chain439 /// Is `over` does not depend on any variable introduced by an earlier for-spec in this comprehension chain
440 /// Note: If true, then the `over` expression should be evaluated OUTSIDE of the compspec closure, using the
441 /// outer arraycomp/objcomp context.
440 loop_invariant: bool,442 loop_invariant: bool,
441 },443 },
442 #[cfg(feature = "exp-object-iteration")]444 #[cfg(feature = "exp-object-iteration")]
446 visibility: jrsonnet_ir::Visibility,448 visibility: jrsonnet_ir::Visibility,
447 value: LDestruct,449 value: LDestruct,
448 over: LExpr,450 over: LExpr,
451 /// Note: If true, then the `over` expression should be evaluated OUTSIDE of the compspec closure, using the
452 /// outer arraycomp/objcomp context.
449 loop_invariant: bool,453 loop_invariant: bool,
450 },454 },
451}455}