Hi Fritz,

the generator should be aware of this case. So I guess you can go ahead 
and file a bug report for this issue.

Thanks for sharing this info!

cheers,
   Alex

Am 20.08.2010 08:48, schrieb Fritz Zaucker:
> the following worked for me with pre1.3 until I did an svn update last night
> (hadn't updated for a few days). It fails with 1.2.0 and with the current
> trunk (I am not sure that it will always fail):
>
> Create two classes
>
>       myapp.Ticket.Test  (.../source/class/myapp/Ticket/Test.js)
>       myapp.Ticket       (.../source/class/myapp/Ticket.js)
>
> Calling
>
>       new myapp.Ticket.Test();
>
> fails with the error message "myapp.Ticket.Test" is not a constructor.
>
> Now I admit that this example is probably not such a great idea, as
> conventionally all but the last element in a class are lowercase in Qooxdoo.
>
> But as this is rather hard to debug (I only found it with Tobi's support by
> looking in the firebug console at the individual elements of the constructor
> which tells that Ticket in myapp.Ticket.Test() is a function), I think it
> would be useful if the generator would catch that.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to