attributes: @Node(field), @Derived, @Text, @Multiline and @Key on a field, into the schema - @Node's field must be @Asset("gltf") or an @Ref to a registry whose record has exactly one, every failure reported; reseeded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b647964839
commit
ebfbabdfd8
10 changed files with 73439 additions and 71415 deletions
18
examples/rejected/node_bad.ludic
Normal file
18
examples/rejected/node_bad.ludic
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# attributes: @Node names a field of its record that names a glTF - `handle` names no field, `tag`
|
||||
# is a plain string, and `kit` refers to a registry whose record has two models (all three are reported)
|
||||
program R {
|
||||
property Kit {
|
||||
key: string = ""
|
||||
@Asset("gltf") body: string = ""
|
||||
@Asset("gltf") lod: string = ""
|
||||
}
|
||||
registry Kits of Kit
|
||||
property Tool {
|
||||
tag: string = ""
|
||||
@Ref(Kits) kit: int = 0
|
||||
@Node(handle) grip: string = ""
|
||||
@Node(tag) tip: string = ""
|
||||
@Node(kit) hook: string = ""
|
||||
}
|
||||
entry { print(KITS_COUNT) }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue