www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2441] New: header file generation translates enum to manifest

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

           Summary: header file generation translates enum to manifest
           Product: D
           Version: 2.019
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: schveiguy yahoo.com


Given the simple file blah.d:

enum x = 1;

compile with dmd -H -o- blah.d
results in:

// D import file generated from 'blah.d'
manifest x = 2;


-- 
Nov 04 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2441





------- Comment #1 from schveiguy yahoo.com  2008-11-04 11:28 -------
oops, original file was

enum x = 2;

That part isn't a problem :)  copy-paste error


-- 
Nov 04 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2441


bugzilla digitalmars.com changed:

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




------- Comment #2 from bugzilla digitalmars.com  2008-12-25 04:41 -------
Fixed dmd 2.022


-- 
Dec 25 2008