A typedef of a function pointer type crashes the compiler #53

Closed
opened 2026-10-08 18:43:12 +02:00 by alex-eg · 0 comments
Owner
(typedef colour-fn (fn ((i32)) u32))
Error: (cdr) bad argument type: u32

No location. The same type written inline in a parameter list works.


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

```scheme (typedef colour-fn (fn ((i32)) u32)) ``` ``` Error: (cdr) bad argument type: u32 ``` No location. The same type written inline in a parameter list works. --- 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:12 +02:00
Sign in to join this conversation.