www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4276] New: CTFE error messages use random variable names

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

           Summary: CTFE error messages use random variable names
           Product: D
           Version: 2.041
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: jason.james.house gmail.com



05:04:40 PDT ---
Here's a sample that I hit:

$ dmd -c *.d -offoo
board.d(519): Error: variable __ctmp533 cannot be read at compile time
board.d(519): Error: cannot evaluate __ctmp533.this(global_random) at compile
time

Bugzilla 3801 and Bugzilla 3730 also demonstrate this behavior but are not
about error message quality.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 05 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4276


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug yahoo.com.au




 Here's a sample that I hit:
 
 $ dmd -c *.d -offoo
 board.d(519): Error: variable __ctmp533 cannot be read at compile time
 board.d(519): Error: cannot evaluate __ctmp533.this(global_random) at compile
 time
 
 Bugzilla 3801 and Bugzilla 3730 also demonstrate this behavior but are not
 about error message quality.
Such messages are references to compiler generated code. Each is a different bug; they don't have a common cause. A test case for this particular one would be valuable. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 05 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4276


Don <clugdbug yahoo.com.au> changed:

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



Invalid - no test case. (Based on the error message, I think this has been
fixed anyway).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 21 2011