A pub record with a field of a private record type #57

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

(pub record natural-shape (... (slots (* shape-cell)) ...)) with
shape-cell not pub compiles in its own module, and in the importer
fails with unknown type name 'shape_cell'. Either an error at the
definition or exporting the type would do.


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

`(pub record natural-shape (... (slots (* shape-cell)) ...))` with `shape-cell` not `pub` compiles in its own module, and in the importer fails with `unknown type name 'shape_cell'`. Either an error at the definition or exporting the type would do. --- 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:14 +02:00
Sign in to join this conversation.