consequences of removing semicolons in D like in Python

Chris via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 22 08:32:25 PDT 2016


On Thursday, 22 September 2016 at 14:36:31 UTC, eugene wrote:
> On Thursday, 22 September 2016 at 14:07:29 UTC, Chris wrote:
>> What about braces and brackets?
>>
>> debug { writeln("Error") }
>>
>
> i think writeln("Error") could be parsed as one statement

I think so too, and `debug {}` too.


More information about the Digitalmars-d mailing list