✓
Passing Passing: the compiler rejects this program as expected.
Code
// The typed file-source echo `<type>"path"` was removed 2026-10-24 — the
// tag is declared once on the parameter (`source: Source[kind]`) and the
// invocation is `@"path"`. PARSE001 teaches the migration.
~[comptime|transform]tor render.file { source: Source[text], program: *const Program, allocator: std.mem.Allocator }
| transformed *const Program
| failed string
~render.file <text>"hello.txt"
| transformed _ |> _
Actual compiler output
error[PARSE001]: a typed file source `<type>"path"` was removed — declare the tag on the parameter (`source: Source[kind]`) and invoke with `@"path"`
--> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_328_typed_file_source_removed/input.kz:8:0
|
8 | ~render.file <text>"hello.txt"
| ^Frontend must reject with:
CONTAINS error[PARSE001]
CONTAINS typed file sourceTest Configuration
MUST_ERROR