Opened 11 years ago

Closed 11 years ago

#467 closed defect (fixed)

@class macro and high safety

Reported by: rme Owned by:
Priority: minor Milestone:
Component: Objective-C Bridge Version: 1.3
Keywords: Cc:

Description (last modified by rme)

(from ticket:447)

(@class "Foo") expands into

(the (@metaclass "Foo") ...)

@metaclass isn't a valid type specifier, and the compiler complains about it when SAFETY is sufficiently high, e.g.,

? (locally (declare (optimize (safety 3))) (@class "NSObject"))
> Error: Unknown type specifier: (@METACLASS "NSObject")
> While executing: %%TYPEP, in process Listener(3).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 > 

Change History (2)

comment:1 Changed 11 years ago by rme

  • Description modified (diff)

comment:2 Changed 11 years ago by rme

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

Fixed (or worked around, anyway) in r12055.

Note: See TracTickets for help on using tickets.