prohibit adding name of a package to itself as a local nickname
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 21 Feb 2013 11:18:34 +0000 (13:18 +0200)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 21 Feb 2013 11:18:34 +0000 (13:18 +0200)
commit506af5859d361f5e9744ca9a177bf47746333df3
tree1a1132156af137710ff150afb174abef5f56a9cf
parentf1e41363fc77b7fc7da410eafef587b683be777a
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
src/code/target-package.lisp
tests/packages.impure.lisp