Opened 11 years ago

Closed 10 years ago

#449 closed enhancement (fixed)

Deleting current package

Reported by: stassats Owned by: gz
Priority: minor Milestone:
Component: Runtime (threads, GC) Version: trunk
Keywords: Cc:

Description

If I DELETE-PACKAGE a package, which is the current package, I get

Error: #<Deleted Package> is a deleted package . While executing: #<error printing #<Recursive printing error> #x30004001A4BE> #x3000400CD6EE>, in process listener(1).

And CCL ends up in the kernel debugger, when i try to call functions with unqualified names.

Change History (2)

comment:1 Changed 11 years ago by gz

  • Owner changed from gb to gz
  • Type changed from defect to enhancement

I agree, just hosing your lisp is pretty unforgiving, it would be good to do something that'll at least give you a chance to try to fix your mistake.

comment:2 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed

I don't know when it happened, but evaluating forms containing unqualified symbols when you've deleted your current package no longer dumps you into the kernel debugger. If you're in a deleted package, (cl:in-package "CL-USER") is one way to get out of it.

Note: See TracTickets for help on using tickets.