mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
Workflow environment scan: - A command whose standard output is redirected (`echo "N=x" >/dev/null |& tee -a "$GITHUB_ENV"`) does not set the variable; the same pipeline without the redirect still does. - `env` reads assignments only before its child command, so `env printf '%s' "N=x"` passes the word to `printf`. - A line break after `|` or `|&` continues the pipeline. - A line continuation inside a name (`MY_\` and `SAMPLES=x` on the next line) is removed before names are read; single-quoted text is kept as it is. Test reads: - Closure names are read past the 1 KiB decode window and with combining marks. - A unary `-` or `!` stays inside a cast's operand (`-Kind::A as i8`). - A closure called only from a closure that never runs is not run; statements are judged last first against the code kept so far. - An async closure's future passed to `drop` or `std::mem::drop` is not polled. - `fallback(xs).len()` is a size check of the call's result, not of `xs`; `(xs).len() == 2` keeps its exact bound. - An index shows `k + 1` items (`xs[0]` does not guard `xs.windows(2)`), and an index after the assertion counts only while nothing in between changes the collection. - Turbofish arguments neither end a selector closure nor count as selector locals. - A count through `by_ref()` consumes its source. - A saved count (`let n = xs.len()`) guards only `xs`, with its compared bound. - `(status.success() && dest.exists()) == true` is not status-only. - Brackets inside const arguments are skipped when tracking open generic lists, so a shift after them stays visible. - Every grouping layer around a constructor is unwrapped before a field is read. - A raw identifier (`r#loop`) does not open an iterator block.