013 orisha router rejects terminal

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

Showing last 10 of 17 lines
  --> /Users/larsde/src/orisha/lib/index.kz:762:1
    |
762 | ~[comptime|transform]pub event router {
    | ^

error[PARSE003]: single continuation branch 'transformed' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> <type>`
  --> /Users/larsde/src/orisha/lib/index.kz:1352:1
    |
1352 | ~[comptime|transform]pub event static-router {
    | ^

Code

input.kz

Must contain:

orisha:router pattern branches must use effect

Error Verification

Actual Compiler Output

error[PARSE003]: single continuation branch 'response' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> <type>`
  --> /Users/larsde/src/orisha/lib/index.kz:236:1
    |
236 | ~[abstract|retain]pub event handler { req: *Request }
    | ^

error[PARSE003]: single continuation branch 'transformed' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> <type>`
  --> /Users/larsde/src/orisha/lib/index.kz:762:1
    |
762 | ~[comptime|transform]pub event router {
    | ^

error[PARSE003]: single continuation branch 'transformed' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> <type>`
  --> /Users/larsde/src/orisha/lib/index.kz:1352:1
    |
1352 | ~[comptime|transform]pub event static-router {
    | ^

Flows

flow ~router click a branch to expand · @labels scroll to their anchor
router (req: &req)

Test Configuration

MUST_FAIL