A game's exported UiAct collided with ludic.ui's, which nothing outside ludic.ui uses: it is private to ludic.ui now, and a private record of one spelling in two modules never clashed. A real clash - a type named like one a package exports - is still refused, and the message names the package and the way out (`ludic_ui exports it, and exported names are one namespace - rename this one, or declare it without export inside a module of your own`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
213 B
Text
7 lines
213 B
Text
# own_uiact.ludic - a game module may export a record named like one of ludic.ui's own private ones
|
|
import "ludic.ui"
|
|
import "own_uiact/acts"
|
|
program OwnUiAct {
|
|
numbers float
|
|
entry { print(`{act_kind()}`) }
|
|
}
|