Ouch. I wonder what the compiler is trying to do. I guess we know it whines about constructor a lot. Maybe saying thing['constructor'] would make it happier?

On 2008-09-11, at 16:34EDT, Henry Minsky wrote:

This code in LzDebug.lzs is causing the flex compiler to get a null pointer
exception

         if (! (indices ?
                ((thing is Array) && (thing.constructor === Array)) :
((thing is Object) && (thing.constructor === Object)))) {
           pretty = (! unique);
         }


Rewriting it as an "if" statement makes it compile in the flex compiler.

I reported the compiler error as http://bugs.adobe.com/jira/browse/ASC-3534
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to