The error: "The method arrayByAddingObjectsFromArray (NSArray<EOProperty>) in the type NSArray<EOProperty> is not applicable for the arguments (NSArray<EOAttribute>)". Say what?! An EOAttribute is an EOProperty!
This is a bug in 5.4 -- Wonder had this same bug in our generic form of NS* originally, but it is fixed in Wonder. The proper declaration of arrayByAddingObjectsFromArray should be: public NSArray<E> arrayByAddingObjectsFromArray(NSArray<? extends E> otherArray) {

not

public NSArray<E> arrayByAddingObjectsFromArray(NSArray<E> otherArray) {

which is most likely what 5.4 has it declared as. You will find that quite a few other methods likely also have this same bug (ours did as well). Incidentally, people using Project Wonder will not see this bug, because our generic NS* will still override 5.4's.

ms
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to