Repository navigation
Support Jinja keyword-map expansion - #648
Conversation
|
Thank you, @akol1. This landed in 1.0.8 as your own commit ( What we checked:
One behaviour change is in the 1.0.8 notes: a call that names the same keyword twice now fails to compile, where A non-mapping, a non-string key, a repeated name or anything after the |
The change landed rebased onto the 1.0.8 candidate as c1904a09f with its author kept; this keeps the PR's head in the history with no change to the tree.
Problem
The shared Jinja parser rejects
**mappingcall arguments. Templates cannot pass dynamically selected options to macros, functions, or filters.Change
**mappingexpression and include it in AST traversal.dictpositional-map overwrite semantics.*argsremains unsupported.Verification
Base:
a6aa4782(upstream main). Zig 0.17.0, macOS arm64.zig build test test-golden native -Dcpu=apple_m1: passed.zig test zig/src/core/template/tests.zig -lc: 13/13 passed.1:2|{"x": 3, "y": 4}.Publication scope
Five files; no model code, checkpoint fixtures, performance claims, generated binaries, or local qualification artifacts. Public noreply commit identity; publication trees and outgoing commit metadata checked for private markers.