id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,difficulty 1513,Type declarations in modules do not namespace structs,sjamaan,,"As reported by Jörg Wittenberger, the following program gives a compilation warning in CHICKEN 5 but not in CHICKEN 4: {{{ (module foo * (import scheme) (cond-expand (chicken-5 (import (chicken base) (chicken type) )) (else (import chicken))) (: make-foo (string --> (struct foo))) (define-record foo bar) ) }}} Presumably this is because the low-level name of the struct is `foo#foo` here (because we're inside a module). I think the correct fix for this would be to look at struct identifiers, and when unqualified, just prefix it.",defect,assigned,major,someday,core libraries,5.0.0,,,,easy