D to Javascript converter (a hacked up dmd)

Daniel Murphy yebblies at nospamgmail.com
Fri Mar 2 03:27:31 PST 2012


"Jacob Carlborg" <doob at me.com> wrote in message 
news:jiq8kb$1ht0$1 at digitalmars.com...
>>
>> CommaExp's containing Declarations
>
> Is he saying "var a, b, c;" is invalid JavaScript code?
>
> -- 
> /Jacob Carlborg

It's invalid if it's a comma expression.

eg.

auto x = (auto a = 3, a);

Which dmd creates _everywhere_. 




More information about the Digitalmars-d-announce mailing list