Bug 4012 ...

Cheers,
Fritz

On Fri, 20 Aug 2010, Alexander Steitz wrote:

> 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
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
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