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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
(In reply to greensunny12 from comment #0)
> but I
> guess there are more cases where the DMD frontend accepts a lot more than
> defined by the spec.

The spec recognizes those semicolons. They're empty 'DeclDef's as per
<http://dlang.org/spec/module.html#DeclDef> (at the bottom of the list).

I'd suggest warning on every empty DeclDef and not only on those behind
structs/enums.

--

Reply via email to