Skip to content
Playground(another site)

bynk.namespace.reserved

Error A user unit is named bynk or bynk.*; the bynk root is reserved for the toolchain.

The bynk root belongs to the toolchain: its own libraries, such as bynk.list, and the platform adapters live there and are added to a build when a unit consumes them. A unit of yours named bynk or bynk.<anything> could collide with one of them, so the name is refused for every kind of unit. Rename the unit so its first segment is not bynk, and move its file to match.

Example

bynk/foo.bynk
commons bynk.foo // ✗ `bynk` is the toolchain's namespace
// shop/foo.bynk
commons shop.foo // ✓

In the Book

See also

  • Every code in its category, Project, on the diagnostic index.
  • bynk explain bynk.namespace.reserved shows the same from the installed toolchain, without a network.