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:jbal...@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 <gosm...@adobe.com> > What error or warning did Falcon produce without this? > > - Gordon > > -----Original Message----- > From: Justin Mclean [mailto:jus...@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 > >