035 println blk conditionals

✓ Passing This code compiles and runs correctly.

Code

// Test: print.ln.blk with {% if %} conditionals

~import "$std/io"

const debug = true;
const total: i32 = 100;
const name: []const u8 = "Report";

~std.io:print.blk {
    === {{ name:s }} ===
    {% if debug %}[DEBUG MODE]
    {% endif %}Total: {{ total:d }}
    ==============
}
input.kz

Expected Output

=== Report ===
[DEBUG MODE]
Total: 100
==============

Test Configuration

MUST_RUN