Uncaught compile error on invalid function form with sb-pcl symbol

Bug #1886120 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

(defun bug009 ()
  #'(SB-PCL::SLOW-METHOD))

==>

Can't SET-INFO-VALUE on PCL-internal function
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] abort thread (#<THREAD "new-repl-thread" RUNNING {101E99D1D3}>)

Backtrace:
  0: (SB-INT:SET-INFO-VALUE (SB-PCL::SLOW-METHOD) 3 NIL)
  1: (SB-C::IR1-FINALIZE #<SB-C:COMPONENT :NAME BUG009 {101F4EF6C3}>)
  2: (SB-C::IR1-PHASES #<SB-C:COMPONENT :NAME BUG009 {101F4EF6C3}>)
[...]

Revision history for this message
Douglas Katzman (dougk) wrote :

probably the extended-extended-function-designator concept needs to distinguish between extended-function-designators that are standards-specified, and internal ones.
This examples should produce the same error as if it had been:
* (defun foo () #'(badsyntax))
; in: DEFUN FOO
; #'(BADSYNTAX)
;
; caught ERROR:
; (BADSYNTAX) is not a legal function name.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.