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:
parent
2f4860ae71
commit
5a751434ac
17 changed files with 181 additions and 0 deletions
6
examples/rejected/permap_unit.ludic
Normal file
6
examples/rejected/permap_unit.ludic
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# permap_unit.ludic - @Unit's spellings are ASCII, one per unit: "°" builds, with a warning naming
|
||||
# "deg" (it lives among the rejected examples for the warning it draws, not for an error)
|
||||
program PerMapUnit {
|
||||
property Sign { @Unit("°") yaw: float = 0.0, @Unit("m/s") speed: float = 0.0 }
|
||||
entry { print(1) }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue