[haXe] Anonymous objects via Reflect

dan at chameleoncode.jp dan at chameleoncode.jp
Thu Aug 30 18:46:00 CEST 2007


On Aug 30, 2007, at 3:28 AM, Franco Ponticelli wrote:

> Yes and its value is Void and not an object.
>
> On 8/30/07, Ian Liu <ian.liu88 at gmail.com> wrote:
> I think Nicolas once said that var a = {} is interpreted as a  
> block, not an object.
>
>

Ahh ok. It's somewhat confusing to have to use the reflect API to  
create an empty object, but I understand now what the compiler is  
seeing.

Thanks for your help!

--Dan--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070830/caf75936/attachment.htm


More information about the Haxe mailing list