Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A asdf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • asdf
  • asdf
  • Issues
  • #51

Closed
Open
Created Jan 01, 2021 by Michał Herda@mherda🤔Developer

Reevaluating UIOP:DEFINE-PACKAGE does not resolve conflicting local-nicknames

If I uiop:define-package with a local nickname p standing for protest/protocol, and then evaluate the same uiop:define-package but with a local nickname p standing for protest/base, the local nickname is not modified, and instead a compilation error is signaled:

    Cannot add P as local nickname for PROTEST/BASE in TAGBODY-SCAFFOLD: already
    nickname for PROTEST/PROTOCOL.
    --> PROGN EVAL-WHEN PROG1 
    ==>
      (LET ((#:G0
             (FUNCALL 'UIOP/PACKAGE:ENSURE-PACKAGE '#:TAGBODY-SCAFFOLD :NICKNAMES
                      'NIL :DOCUMENTATION 'NIL :USE '(#:CL) :SHADOW '(#:VARIABLE)
                      :SHADOWING-IMPORT-FROM ...)))
        (PROGN
         (SETF (SB-IMPL::PACKAGE-SOURCE-LOCATION #) (SB-C:SOURCE-LOCATION))
         #:G0))

This means that uiop:define-package does not remove old local nicknames before attempting to add new ones.

Assignee
Assign to
Time tracking