[Issue 12924] deprecated(foo); and deprecated; should not compile
https://issues.dlang.org/show_bug.cgi?id=12924 --- Comment #2 from github-bugzi...@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 --
[Issue 12924] deprecated(foo); and deprecated; should not compile
https://issues.dlang.org/show_bug.cgi?id=12924 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 12924] deprecated(foo); and deprecated; should not compile
https://issues.dlang.org/show_bug.cgi?id=12924 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||accepts-invalid, pull Version|unspecified |D2 Severity|normal |regression --- Comment #1 from Kenji Hara k.hara...@gmail.com --- This is git-head regression caused by the parser improvement: https://github.com/D-Programming-Language/dmd/pull/2924 Compiler fix: https://github.com/D-Programming-Language/dmd/pull/3676 --