[Issue 7133] [tdpl] There should be no empty statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 19 05:16:40 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7133


jakobovrum at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakobovrum at gmail.com


--- Comment #7 from jakobovrum at gmail.com 2011-12-19 05:16:39 PST ---
(In reply to comment #3)
> I didn't think that that worked, since {} isn't a statement (at least, as far
> as I know, it isn't), but if it works, it's certainly better.

It is indeed a statement, it's called a block statement, also in D:
http://dlang.org/statement.html#BlockStatement

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list