Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#83 closed defect (worksforme)

artificially constructed identifiers are not recognized as exports

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: major Milestone:
Component: expander Version: 4.2.x
Keywords: Cc:
Estimated difficulty:

Description

The following example fails, because ##sys#register-export in expand.scm doesn't find the (probably aliased) toplevel identifier.

(module zzz (zap)
  (import scheme chicken)

  (define-syntax (zap x r c)
    `(,(r 'define) ,(r (string->symbol (string-append "make-" (symbol->string (cadr x)))))
      99)))

(module foo (make-graphics)
  (import scheme chicken zzz)
  ; adding "(define make-graphics)" would make this example work
  (zap graphics)
)

Change History (2)

comment:1 Changed 15 years ago by felix winkelmann

Resolution: worksforme
Status: newclosed

Mot doing the rename of the identifier appears to solve this issue.

comment:2 Changed 14 years ago by (none)

Milestone: 4.3.0

Milestone 4.3.0 deleted

Note: See TracTickets for help on using tickets.