OxL Reference

error missing-impl

error Standard: [§10.1]

What it means#

Every service that is not extern needs exactly one impl in the program: the contract alone serves nothing.

Example#

oxl✓ checked in CI
service Lonely { // <- missing-impl
  rpc ping() -> i32
}
error
missing-impl

How to fix#

Write impl Lonely { rpc ping() { 1 } }, or declare the service extern service if it is implemented elsewhere (it then only has clients).

See also#

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