[Adium-devl] [Adium-svn] rev 23724 - trunk/Plugins/Facebook Service
Peter Hosey
prh at boredzo.org
Thu May 29 18:33:51 UTC 2008
On May 29, 2008, at 09:19:58, Graham Booker wrote:
> It is an NSConstantString *, iirc.
That's its class, but that's not the question. The question is what
the type of the expression in the compiler is, as it considers it for
type mismatches (e.g., assigning an NSFoo *to an NSBar *variable).
If the type of the expression is NSString *or any variant thereof, the
compiler should have warned us when we tried to pass that to a method
argument that was clearly labeled an NSURL *. The fact that it didn't
implies that the expression was of type id—but I can't imagine why,
considering that the compiler should always know the type of one of
its own literals.
More information about the devel
mailing list