attributes: a target the program does not have at all (an @Ref registry, an @Tint / @OneOf constant) is a warning and "unresolved" in the schema, not an error - a package names the game's registry without importing it; a name of another kind is still an error; reseeded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
dacc0f7280
commit
d82dc3162f
10 changed files with 83635 additions and 82878 deletions
|
|
@ -1,9 +1,10 @@
|
|||
# attributes: @Ref names a registry - there is no registry Vendorz, nor Shops (both are reported)
|
||||
# attributes: @Ref names a registry - Vendor is a record, which is an error; Shops is in no part of
|
||||
# this program, which is only a warning (a package may name the game's registry it cannot import)
|
||||
program R {
|
||||
property Vendor { key: string = "" }
|
||||
registry Vendors of Vendor
|
||||
property Tool {
|
||||
@Ref(Vendorz) seller: int = 0
|
||||
@Ref(Vendor) seller: int = 0
|
||||
@Ref(Shops) shop: int = 0
|
||||
}
|
||||
entry { print(VENDORS_COUNT) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue