[Issue 13363] DMD accepts bodyless if statement
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 23 10:16:05 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13363
--- Comment #2 from Orvid King <blah38621 at gmail.com> ---
It's the same as that, yes, but there is no actual statement, nor are there any
curly brackets to denote an empty statement was intended. I believe that if the
behaviour was actually intended, the curly brackets should be required, and
that this form should produce an error.
--
More information about the Digitalmars-d-bugs
mailing list