www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12567] New: Modules can't be marked as deprecated


          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 puremagic.com
          Reporter: andrej.mitrovich gmail.com

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

void main()

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

Apr 12 2014