New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export-time renaming, import-time renaming and intermediate module don't go along #255

Closed
shirok opened this Issue Dec 9, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@shirok
Owner

shirok commented Dec 9, 2016

gosh> (use gauche.base :except (div) :rename ((gauche:import import)))
*** ERROR: during processing :rename clause: binding of gauche:import isn't exported from #<module #f$gauche.base @0x237d150>
    While compiling "(standard input)" at line 1: (use gauche.base :except (div) :rename ((gauche:import import)))
Stack Trace:
_______________________________________
  0  (eval expr env)
        at "/usr/share/gauche-0.9/0.9.5/lib/gauche/interactive.scm":282

The :except option creates implicit intermediate module, but it seems to lose export-time renaming
of import in gauche.base, causing binding check of :rename option fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment