Constants in array types aren't kebab-converted #50

Closed
opened 2026-10-08 18:43:10 +02:00 by alex-eg · 0 comments
Owner

(var xs [u16 CHUNK-AREA]) and record fields like
(terrain-height [u16 CHUNK-AREA]) emit CHUNK-AREA literally, while
CHUNK-AREA in an expression becomes CHUNK_AREA. Writing
CHUNK_AREA in the type works around it.


Found with sexc dfafe8b while building vs-map-viewer (from its Sex-field-notes.org).

`(var xs [u16 CHUNK-AREA])` and record fields like `(terrain-height [u16 CHUNK-AREA])` emit `CHUNK-AREA` literally, while `CHUNK-AREA` in an expression becomes `CHUNK_AREA`. Writing `CHUNK_AREA` in the type works around it. --- Found with sexc `dfafe8b` while building vs-map-viewer (from its `Sex-field-notes.org`).
alex-eg added the bug label 2026-10-08 18:43:10 +02:00
Sign in to join this conversation.