Skip to content
Playground(another site)

bynk.project.inconsistent_commons_name

Error A source file's path does not match its declared name.

A source file's path is its unit's identity: context commerce.orders lives at commerce/orders.bynk, or in a file under commerce/orders/, relative to an include root. A reader can then find a unit from its name alone. Rename the file or directory to match the declared name, or change the name. Test suites are exempt.

Example

pricing.bynk
commons tax // ✗ the path says `pricing`
// tax.bynk
commons tax // ✓

In the Book

See also

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