Hi Thomas
Thanks, it's here: http://bugzilla.qooxdoo.org/show_bug.cgi?id=6052 Are all
the helper properties prefixed with $$? Perhaps that could the the
suppression trigger?
John
From: thron7 <[email protected]>
Reply-To: qooxdoo Development <[email protected]>
Date: Tue, 17 Jan 2012 18:56:28 +0100
To: qooxdoo Development <[email protected]>
Subject: Re: [qooxdoo-devel] Generator not reporting undefined class names
John,
'qx.DoesNotExist' is not warned about, since the entire 'qx' object is not
warned about, together with all its direct object properties. This is to
avoid warnings for the (many) helper properties that are attached to qx
($$environment, $$libraries, ...).
In general, properties attached to libraries' top-level name spaces are not
warned about. This affects 'qx', but also your own application library, or
any contribution you might use. You could argue that while this might make
sense for 'qx', it should be handled more strictly for other name spaces,
expecting each property on the top-level name space to be a properly defined
class. You can open a bug to that end.
I would generally not expect people to extend the 'qx' name space, though.
HTH,
T.
On 01/17/2012 04:36 PM, John Spackman wrote:
>
> Hi
>
>
>
>
> I've just found that if I reference a class that doesn't exist the generator
> doesn't give a hint, e.g. this code:
>
>
>
>
>
>>
>>
>>
>> getSomeClass: function() {
>>
>>
>> return qx.DoesNotExist;
>>
>>
>> }
>>
>>
>
>
>
>
>
> Is silent, but this code:
>
>
>
>
>
>>
>>
>>
>> getSomeClass: function() {
>>
>>
>> return qx.does.not.Exist;
>>
>>
>> }
>>
>>
>
>
>
>
>
> Reports that "Unknown global symbol referenced: qx.does.not".
>
>
>
>
> Is this right/shall I file a bug report?
>
>
>
>
> John
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]https://lists.sourceforge.net/lists/listinf
> o/qooxdoo-devel
>
----------------------------------------------------------------------------
-- Keep Your Developer Skills Current with LearnDevNow! The most
comprehensive online learning library for Microsoft developers is just
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d_________________________________________
______ qooxdoo-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel