[Openmcl-devel] How to send a message to the objc super-class ?

Didier Verna didier at lrde.epita.fr
Mon Feb 11 13:24:51 UTC 2008


Gary Byers <gb at clozure.com> wrote:

> On Sat, 9 Feb 2008, Didier Verna wrote:
>
>> I have made some progress on this. As I said, the following compiled but
>> didn't draw anything:
>>
>> (objc:defmethod (#/drawWithFrame:inView: :void)
>>    ((self outline-cell) frame view)
>>  (call-next-method frame view))
>
>
> When you defined that, you should have seen a warning of the form:
>
> ; Warning: previously declared methods on #1="drawWithFrame:inView:"
> ; all had the same type signature, but #<OBJC-METHOD-INFO
> ; -[OutlineCell #1#] #x3000421D518D> introduces ambiguity

  I had indeed. Thank you very much for this detailed answer !

-- 
Resistance is futile. You will be jazzimilated.

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (0)1 53 14 59 22  didier at xemacs.org



More information about the Openmcl-devel mailing list