[Issue 12924] deprecated("foo"); and deprecated; should not compile

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 18 01:25:02 PDT 2014


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4b2578e208f2af9a02159fc2d8d87fb17b09005e
fix Issue 12924 - deprecated("foo"); and deprecated; should not compile

'DeclarationBlock' that follows 'Attribute' should be parsed by parseBlock.

`PrefixAttribute` is used to check redundant/conflicting attributes over the
mutual call between `parseDeclDefs` and `parseBlock`.

https://github.com/D-Programming-Language/dmd/commit/77f4e95af6cf1fd2dd80902ec122a23f1358fd1f
Merge pull request #3676 from 9rnsr/fix12924

[REG2.066a] Issue 12924 - deprecated("foo"); and deprecated; should not compile

--


More information about the Digitalmars-d-bugs mailing list