OxL Справочник OxL
РусскийEnglish

error respond-twice

error Стандарт: [§10.6]

`respond` встречается больше одного раза или в пайплайне над `stream<T>`.

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✓ проверяется в 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 · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства