Commit [506af5]  Maximize  Restore  History

prohibit adding name of a package to itself as a local nickname

Seems useless, confusing, and probably unintentional. Make it a
continuable error, though. Thanks to Rudi Schlatte for thinking
about this.

So, NO MORE:

(in-package :foo)
(add-package-local-nickname :foo :bar)
'foo::x ; => BAR::X

Nikodemus Siivola Nikodemus Siivola 2013-02-21

changed src/code/target-package.lisp
changed tests/packages.impure.lisp
src/code/target-package.lisp Diff Switch to side-by-side view
Loading...
tests/packages.impure.lisp Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks