Ticket #800 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Problem with socket-error?

Reported by: mt Owned by:
Priority: normal Milestone:
Component: other Version: trunk
Keywords: Cc:

Description

The code for socket-error in l1-sockets.lisp passes several arguments to (make-condition 'socket-error ...) that the class apparently doesn't support, such as :situation.

Change History

comment:1 Changed 4 years ago by gb

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

The initargs passed in that call to MAKE-CONDITION are precisely those used to initialize a SOCKET-ERROR's slots.

? (mapcan #'slot-definition-initargs (class-slots (find-class 'socket-error)))
(:FORMAT-CONTROL :FORMAT-ARGUMENTS :STREAM :CODE :IDENTIFIER :SITUATION)
Note: See TracTickets for help on using tickets.