Summary

avoid indirect syntax export warning with define-library

Metadata

Description

reported by HernĂ¡n Ibarra Mejia:

Indirect syntax exports (other's too?) produce a warning since define-library has no way to declare indirect exports. When expanding a define-library-produced module, these warnings should be suppressed.

Changes and comments

[2026-09-08 20:33:23 UTC] felix wrote:

Example code:

 (define-library *whatever*
   (import (scheme base))
   (export my-macro)
   (begin
     (define-syntax my-macro
       (syntax-rules ()
         ((_) (my-auxiliary))))
     (define-syntax my-auxiliary
       (syntax-rules ()
         ((_) 42)))))

[2026-09-09 13:13:47 UTC] felix wrote:

fixed in d6442142

[2026-09-09 13:13:48 UTC] felix changed status from new to closed

[2026-09-09 13:13:48 UTC] felix set resolution to fixed