[as2api-dev] error: No packages specified
Jim Kremens
kremens at gmail.com
Sun Sep 4 00:43:26 UTC 2005
I'm sure you're right. As I recall, MMC allows you to do this and
preserves the type of each element. mtasc allows you to do it, but
doesn't preserve the type of each element. The first elements go
untyped and the last element in the list gets typed.
I think the soluton is to not allow this kind of syntax, as mtasc
doesn't really allow it either. I'll get rid of it and see if it
fixes the problem.
Thanks for the followup,
Jim Kremens
On 9/3/05, David Holroyd <dave at badgers-in-foil.co.uk> wrote:
> On Fri, Sep 02, 2005 at 12:20:46AM -0400, Jim Kremens wrote:
> > Sorry to bug you. I think I'm doing everything right at this point,
> > but I'm still finding some issues. as2api seems to overlook some of
> > the files in a given package.
> >
> > For example, a package might have 7 classes in it, all inheriting from
> > the same parent, and the documentation will only show 4. Can you
> > think of any reasons for this?
>
> Looking at the error messages produced for the problem files, I see that
> this sort of syntax is causing the problem,
>
> private var a, b:String;
>
> The parser as2api uses only expects a single variable to be declared in
> such a statement. I didn't realise that a list of variables was
> possible.
>
>
> Given the usage I can see in your example code, it appears that the
> type (String, in the above example) applies to all elements in the list.
> I would have thought that it would be possible to apply a type to each
> member, i.e.,
>
> private var a:Number, b:String;
>
> I don't have the necessary tools in front of me to check this though.
> Can anyone confirm the exact syntax?
>
>
> thanks,
> dave
>
> --
> http://david.holroyd.me.uk/
>
> _______________________________________________
> as2api-dev mailing list
> as2api-dev at lists.badgers-in-foil.co.uk
> http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev
>
More information about the as2api-dev
mailing list