incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Smith <gosm...@adobe.com>
Subject RE: svn commit: r1423863 - /incubator/flex/sdk/branches/develop/frameworks/projects/charts/src/mx/charts/DateTimeAxis.as
Date Wed, 19 Dec 2012 21:36:23 GMT
I'm trying to understand whether this error is a Falcon bug or not. What was the type of d,
the type of v, and the type of parseFunction?

- Gordon

-----Original Message-----
From: Chema Balsas [mailto:jbalsas@gmail.com] 
Sent: Wednesday, December 19, 2012 12:19 PM
To: flex-dev@incubator.apache.org
Subject: Re: svn commit: r1423863 - /incubator/flex/sdk/branches/develop/frameworks/projects/charts/src/mx/charts/DateTimeAxis.as

Hi,

The error was

Error: Implicit coercion of a value with static type Object to a possibly
> unrelated type Function.
>             d = parseFunction(v);


In this case, I used that "hackish" construction because I saw it was already used somewhere
else in the existing code. For example, you can find it in

line 1334 in DateTimeAxis.as
line 377 in LogAxis.as

Of course, I'm open to suggestions :)

Cheers,
Chema

2012/12/19 Gordon Smith <gosmith@adobe.com>

> What error or warning did Falcon produce without this?
>
> - Gordon
>
> -----Original Message-----
> From: Justin Mclean [mailto:justin@classsoftware.com]
> Sent: Wednesday, December 19, 2012 12:07 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: svn commit: r1423863 -
> /incubator/flex/sdk/branches/develop/frameworks/projects/charts/src/mx
> /charts/DateTimeAxis.as
>
> HI,
>
> > +        var parseFunction:Function = this.parseFunction;
>
>
> Wouldn't it be better to fix Flacon rather than change the SDK in this 
> way? Seems a bit hackish to me.
>
> Thanks,
> Justin
>
>

Mime
View raw message