OxL Reference

error respond-twice

error Standard: [§10.6]

What it means#

respond answers the caller once, so it may appear at most once in a pipeline, and not at all in a pipeline over a stream<T> parameter (no single caller to answer).

Example#

oxl✓ checked in CI
pipeline p(n: i32) -> i32 {
  respond it
  -> respond it   // <- respond-twice
}
error
respond-twice

How to fix#

Keep one respond.

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides