generic ring type

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[PARSE003]: single continuation branch 'value' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> u32`
  --> tests/regression/400_RUNTIME_FEATURES/420_PERFORMANCE/911_generic_ring_type/input.kz:50:1
    |
 50 | ~tor ring.dequeue { ring: *RingU32 }
    | ^

Code

input.kz

Expected output

Enqueued!
Got: 42

Flows

flow ~ring.enqueue click a branch to expand · @labels scroll to their anchor
ring.enqueue (ring: &my_ring, value: 42)

Test Configuration

MUST_RUN