https://issues.dlang.org/show_bug.cgi?id=16430

--- Comment #4 from [email protected] ---
(In reply to Steven Schveighoffer from comment #3)
> (In reply to ag0aep6g from comment #2)
> > I'd suggest warning on every empty DeclDef and not only on those behind
> > structs/enums.
> 
> for(;;)

According to <http://dlang.org/spec/statement.html#for-statement>, those
semicolons are part of the 'for' syntax. That is, they're not empty 'DeclDef's
(and they're not empty statements either). So they shouldn't be affected.

--

Reply via email to