044 taint stripped at untyped param

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[PARSE003]: single branch 'logged' with no payload is redundant - remove it to make this a void event (no branches)
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_044_taint_stripped_at_untyped_param/input.kz:38:1
    |
 38 | ~event log-raw { data: []const u8 }
    | ^

Code

input.kz

Must fail at runtime with:

CONTAINS unsanitized

Error Verification

Expected Error Pattern

Taint laundering via non-phantom-aware parameter: a []const u8<unsanitized!>
value is passed to log-raw(data: []const u8). The parameter has no phantom
annotation, so it cannot discharge the obligation. The <unsanitized!> obligation
must remain live after the call and be flagged at scope exit — exactly as
330_069 catches the direct-use variant.

Actual Compiler Output

error[PARSE003]: single branch 'logged' with no payload is redundant - remove it to make this a void event (no branches)
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_044_taint_stripped_at_untyped_param/input.kz:38:1
    |
 38 | ~event log-raw { data: []const u8 }
    | ^

Test Configuration

MUST_FAIL