Skip to main content
Version: 0.4.0

KQ009 — a Domain holds one altitude

Error · domain-holds-one-altitude · Realization

A Domain holds either sub-domains or Function Groups and Functions, never both, and a Domain with sub-domains is not realized itself.

A domain holds both sub-domains and functions, or something realizes a domain that has sub-domains. Move the functions into a sub-domain, and point the realization at the sub-domain that applies.

Examples​

A domain holding a sub-domain and a function side by side raises KQ009:

domain servicing "Servicing" { domain repairs "Repairs" function clean-bike "Clean a bike" }

With the function moved into a sub-domain of its own, it raises nothing:

domain servicing "Servicing" { domain repairs "Repairs" domain cleaning "Cleaning" { function clean-bike "Clean a bike" } }

© 2026 Extenza Works. All rights reserved.