bynk.resolve.duplicate_service
Error Two services share a name.
A service is called by its name, and the name is one of the unit's top-level names, so two services of one name leave a call with nothing to choose between. Rename one, or delete the repeat. The same holds for the other named declarations: bynk.resolve.duplicate_agent, bynk.resolve.duplicate_actor, bynk.resolve.duplicate_capability and bynk.resolve.duplicate_provider, and for the entries of a message bundle, bynk.resolve.duplicate_message_code and bynk.resolve.duplicate_message_locale.
Example
service orders { … }service orders { … } // ✗ `orders` is already declared
service refunds { … } // ✓ a name of its ownIn the Book
See also
- The grammar rule it governs:
service_decl. - Every code in its category, Resolution, on the diagnostic index.
bynk explain bynk.resolve.duplicate_serviceshows the same from the installed toolchain, without a network.