www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9573] New: Spurious _error_ in diagnostic

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9573

           Summary: Spurious _error_ in diagnostic
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



11:56:29 PST ---
void main()
{
    alias int[1000000000] T;
    pragma(msg, T);
}

$ dmd test.d

 test.d(5): Error: index 1000000000 overflow for static array
 _error_
The "_error_" part should not appear. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 22 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9573


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



12:22:45 PST ---
Wait this is invalid, pragma is printing the type that's where _error_ comes
from.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 22 2013