Explicit enum values emit raw names #46

Closed
opened 2026-10-08 18:43:07 +02:00 by alex-eg · 0 comments
Owner
(pub enum wire ((wire-varint 0) (wire-fixed64 1)))

emits wire-varint = 0, ..., neither kebab-converted nor accepted by
C. Plain (enum name (a b c)) works; explicit values need defines.


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

```scheme (pub enum wire ((wire-varint 0) (wire-fixed64 1))) ``` emits `wire-varint = 0, ...`, neither kebab-converted nor accepted by C. Plain `(enum name (a b c))` works; explicit values need `define`s. --- 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:07 +02:00
Sign in to join this conversation.