011 trellis variant guard

✗ Failing This test is currently failing.

Failed: backend-exec

Failure Output

error[KORU122]: transform `init` declares no variants, but the call site selects `|gpu`
  fix: declare `~proc init|gpu { ... }` next to the transform, or drop the tag

Code

input.kz

Flows

flow ~define click a branch to expand · @labels scroll to their anchor
define (expr: "gpu-legal")
flow ~guard click a branch to expand · @labels scroll to their anchor
guard (variant: "gpu", trellis: "gpu-legal")
flow ~shape click a branch to expand · @labels scroll to their anchor
shape (expr: Body, source: mass: f64,)
flow ~init click a branch to expand · @labels scroll to their anchor
init|gpu (expr: Body, source: { mass: 1.0 },)

Test Configuration

Expected Error:

flow requests variant "gpu" but does not satisfy trellis "gpu-legal": std/kernel:step is not gpu-legal