A property or event a module does not export no longer collides with another module's of the same spelling: each private one is renamed for its module, with the types, new, emit and @On written in that module. Exported ones stay one namespace; two events of one spelling are now refused. Generic records, entity components and component or view records stay global. Reseed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
189 B
Text
9 lines
189 B
Text
# L3: two modules that both export a record of one name clash
|
|
import "exported_kinds/a"
|
|
import "exported_kinds/b"
|
|
program ExportedKinds {
|
|
entry {
|
|
let c = new Catch
|
|
print(0)
|
|
}
|
|
}
|