038 union param callsite gap

○ Planned This feature is planned but not yet implemented.

OWED: a host-union parameter can be constructed at a Koru call site.

Failure Output

error[PARSE003]: Zig-style struct syntax '.{' is not valid in Koru parameter values — pass fields as named parameters instead
  --> tests/regression/000_CORE_LANGUAGE/020_EVENTS_FLOWS/020_038_union_param_callsite_gap/input.kz:24:1
    |
 24 | ~describe(v: .{ .text = "hello" }): d |> std/io:print.ln("{{ d:s }}")
    | ^

Code

input.kz

Expected output

got text

Test Configuration

MUST_RUN