[haXe] AS3 problem
Petersson, Tobias
Tobias.Petersson at laerdal.dk
Tue Jul 3 15:43:56 CEST 2007
Its defined as:
private var propagatingEquations : Array<Equation>;
And created in the constructor.
Though equation is nothing but an abstract class. Which is then later
inherited by some different type of equations.
-----Original Message-----
From: haxe-bounces at lists.motion-twin.com
[mailto:haxe-bounces at lists.motion-twin.com] On Behalf Of Nicolas
Cannasse
Sent: den 2 juli 2007 09:28
To: The haXe compiler list
Subject: Re: [haXe] AS3 problem
> Wonder if anyone has seen this?
>
>
>
> I have a row with AS3 code generated from haXe which looks like this:
>
> { var $it : * = propagatingEquations.iterator();
>
>
>
> This failes when running with the message:
>
> TypeError: Error #1006: iterator is not a function.
Could you make sure that "propagatingEquations" is correctly typed as
Array<SomeThing> in haXe ?
Nicolas
--
haXe - an open source web programming language
http://haxe.org
More information about the Haxe
mailing list