id summary reporter owner description type status priority milestone component version resolution keywords cc difficulty 131 check for defined exports may be confused by renaming felix winkelmann felix winkelmann "If a macro expands into a module-definition, the check for missing export definitions appears not to take renaming into account: {{{ (define-syntax testm (syntax-rules () ((_) (module foo (bar) (import scheme) (define bar 1))))) }}} gives an ""unresolved module"" error. Possibly, these tests using `assq` are incorrect and should lookup the id first (`##sys#finalize-module` in `expand.scm`): {{{ (let ((def (assq id dlist))) (if (and def (symbol? (cdr def))) (cdr def) (let ((a (assq id (##sys#current-environment)))) }}} " defect closed major 4.5.0 expander 4.2.x fixed modules