○
Planned This feature is planned but not yet implemented.
Source metadata exposed to Liquid context not yet implemented.
Code
// Test 380_003: Source Metadata in Templates
//
// Templates have access to source location metadata:
// {{ source.file }} - file path
// {{ source.line }} - line number
// {{ source.module }} - module name
//
// This enables rich debug logging, tracing, and error messages
// with zero manual annotation.
~import "$std/template"
~std.template:emit {
Called from {{ source.file }}:{{ source.line }}
}
Expected Output
Called from input.kz:14