Aha, I should have realized that it was likely a recent change to the framework.
I recommend renaming it to removedItem. I try not to change the SDK because I'm not sure what tests I have to run. Are you willing to do it? - Gordon -----Original Message----- From: Cyrill Zadra [mailto:cyrill.za...@gmail.com] Sent: Thursday, March 28, 2013 9:52 PM To: dev@flex.apache.org Subject: Re: Falcon functional test failure Same here.. It's a new warning which is introduced through this commit. https://git-wip-us.apache.org/repos/asf?p=flex-sdk.git;a=commitdiff;h=461281f5818f25319391c6188805512cebc4d977. I guess we should rename it to _item? On Fri, Mar 29, 2013 at 2:20 PM, Gordon Smith <gosm...@adobe.com> wrote: > The frameworkSWC() test in SDKSWCTests is failing for me due to two > compilation warnings warnings: > > [junit] Expected: is <0> > [junit] got: <2> > [junit] Warning: variable definition duplicates function parameter: item. > [junit] ) > [junit] var item:Object = removeItemAt(getItemIndex(item)); > [junit] ^ > [junit] > [junit] > D:\asf\flex-sdk\frameworks\projects\framework\src\mx\collections\XMLListAdapter.as:419 > [junit] Warning: variable definition duplicates function parameter: item. > [junit] var item:Object = removeItemAt[getItemIndex(item)]; > > I get the same thing in Eclipse. Does anybody else get this failure? > > - Gordon >