[Issue 12567] New: Modules can't be marked as deprecated

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 12 14:51:05 PDT 2014


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

          Issue ID: 12567
           Summary: Modules can't be marked as deprecated
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: andrej.mitrovich at gmail.com

-----
deprecated("This module is deprecated, use module bar instad.")
module foo;

void main()
{
}
-----

foo.d(2): Error: Declaration expected, not 'module'

--


More information about the Digitalmars-d-bugs mailing list