flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Dove <greg.d...@gmail.com>
Subject Re: [FlexJS] Error with Alert.show
Date Fri, 03 Mar 2017 07:48:32 GMT
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message