Opened 10 years ago

Closed 10 years ago

#515 closed defect (duplicate)

send/stret macro produces Error: unknown arg spec :REGISTERS

Reported by: rongarret Owned by:
Priority: normal Milestone:
Component: Objective-C Bridge Version: trunk
Keywords: Cc:

Description

With e bound to e.g. an event object, I get the following error:

? (ccl::slet ((l (send e 'location-In-Window)))) ;Compiler warnings : ; In an anonymous lambda form: Undeclared free variable E

Error: unknown arg spec :REGISTERS While executing: %FF-CALL, in process Listener(7).

The form eventually macroexpands (through an amazingly byzantine process) into something containing:

(%FF-CALL (%REFERENCE-EXTERNAL-ENTRY-POINT

(LOAD-TIME-VALUE (EXTERNAL "_objc_msgSend")))

:REGISTERS #:G37 :ADDRESS E :ADDRESS (OBJC:@SELECTOR "locationInWindow") :VOID)

which %FF-CALL doesn't seem to know what to do with.

Change History (1)

comment:1 Changed 10 years ago by rongarret

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

Resubmitted as ticket 516 since the formatting here is hopelessly screwed up. (Is there a way to go back and edit tickets?)

Note: See TracTickets for help on using tickets.