Re: Parameterized NSArray in 5.3.3
Re: Parameterized NSArray in 5.3.3
- Subject: Re: Parameterized NSArray in 5.3.3
- From: Rams <email@hidden>
- Date: Wed, 23 Jul 2008 19:49:03 -0400
Just reported :-)
On Jul 23, 2008, at 6:26 PM, Lachlan Deck wrote:
On 24/07/2008, at 1:12 AM, Rams wrote:
Okay, now I feel dumb :-)~
Generics wasn't broken! The problem was I was using WOContext's
directActionURLForActionNamed with generics and it only accepts a
NSDictionary<String, Object> and I was trying to pass it a
NSDictionary<String, String> in almost every case. That worked in
5.3.3 since arguments weren't parameterized.... so I though the
generics were disabled. Yeah, dumb mistake. Anyway, after watching,
http://www.youtube.com/watch?v=pi_I7oD_uGI
Shouldn't that parameter be NSDictionary<? extends String, ?
extends Object> instead, according to PECS? Is there some reason
Apple isn't doing that?
As Mike suggested (NSDictionary<String,? extends Object>) and yes...
according to PECS. Please submit a bug report to radar.apple.com.
Return values should be NSDictionary<String,Object> however.
with regards,
--
Lachlan Deck
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden