Quick update here, for anyone who may come across this thread: the
Reflection data bug mentioned earlier in the thread is fixed in recent
builds.
On Sat, Feb 18, 2017 at 8:50 PM, Alex Harui <aharui@adobe.com> wrote:
>
>
> On 2/17/17, 7:50 PM, "Justin Mclean" <justin@classsoftware.com> wrote:
>
> >Hi,
> >
> >Currently when using Alert we’re getting this when compiling:
> >
> >SEVERE: .../javascript/bin/js-debug/org/apache/flex/html/Alert.js:254:
> >ERROR - Object literal contains illegal duplicate key "show", disallowed
> >in ES5 strict mode
> > 'show': { type: 'void', declaredBy: 'org.apache.flex.html.Alert',
> >parameters: function () { return [ { index: 1, type: 'Object', optional:
> >false } ]; }}
> > ^^^^^^
>
> That's a bug in the Reflection data. For I worked around it in
> SimpleAlert by renaming show to showAlert so the static show calls
> showAlert. Looks like I should have applied the same hack to Alert. So
> maybe try that same change to get past this error.
>
> HTH,
> -Alex
>
>
|