tests: the map-scoped tables' example and rejected fixtures

examples/lang/permap (two maps, a chunked table with a negative, a positive and a
missing chunk, constants and fn by name, a nested list, a cross-row @Ref, a reload
shrinking in place, a bad file's file:line:col; built under arena strict with an @On
frame root), --check fixtures for a wrong field, a wrong type, an unknown constant and
a dangling cross-row @Ref, @Ref(PerMap) on an int, as PREFIX, and a @Unit warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 21:03:02 +03:00
parent 2f4860ae71
commit 5a751434ac
17 changed files with 181 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# alpha's props: a constant by name, a nested list of records, a list of strings, a nested
# record, a fn by name, and a cross-row @Ref (home names a row of alpha's spots.lres)
tent { model: MDL_TENT, yaw: 90.0, role: "camp", home: "fire", tags: ["guy", "fly"],
pts: [{ x: 1.0, z: 2.0 }, { x: 3.5, z: -4 }], at: { x: 5 }, pick: fn twice }
bench { model: MDL_BENCH, scale: G_SCALE, lit: true, home: "" }
sign { model: 3, role: "say \"hi\"" }