A def from another module into a registry that is not open is refused, and defs go through visibility (the registry exported, its module in the definer's uses). Index order: the declaring module's entries, then the other modules' by module name, each in reading order. A registry entry is emitted as its own file's code, so what it names is seen from its own module. Reseed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
171 B
Text
7 lines
171 B
Text
# closed_kit/index.ludic - a registry that is not open
|
|
module kit
|
|
export property Tool {
|
|
name: string = ""
|
|
}
|
|
export registry Tools of Tool
|
|
def Tools axe { name: "Axe" }
|