1
0
forked from alex-eg/sex
Files
sex/tests/modules/gen/broken.sex
alex-eg 724f4dd3e9 report a module's macro call failing for other than its own names
Reading a module's interface dropped any toplevel call that raised, not
only one asking after a declaration of the module's, which no importer
has yet. Lookups now tell which names they missed, and only those failures
give importers nothing.
2026-10-27 23:38:04 +03:00

9 lines
215 B
Scheme

;;; A toplevel macro call failing for what it is, not for asking after a
;;; name declared here: an importer is told so, as this module is
(defmacro (boom)
(error "nope"))
(pub fn fine () int (return 1))
(boom)