Ticket #1043 (new defect)

Opened 21 months ago

Last modified 21 months ago

encode-objc-method-arglist is sensitive to the setting of *print-circle*

Reported by: pjb@… Owned by:
Priority: blocker Milestone:
Component: Objective-C Bridge Version: 1.8
Keywords: format *print-circle* Cc:

Description

(encode-objc-method-arglist '(:int :int :int) :int) returns: "#1=i24#1#0#1#8#1#16" (when *print-circle* is bound to non nil).

Change History

comment:1 Changed 21 months ago by rme

(In [15558]) In encode-objc-method-arglist, use with-standard-io-syntax so that user customizations of the standard reader/printer variables won't surprise us.

See ticket:1043.

comment:2 Changed 21 months ago by pjb@…

What about encode-objc-type? Isn't there the same problem there too?

And what about the other places where format is used? (When I find a problem with a usage, I like to scan all my sources for the same problem, and I often find other places to patch...)

Note: See TracTickets for help on using tickets.