Thread overview
[Issue 4276] New: CTFE error messages use random variable names
Jun 05, 2010
Jason House
Jun 05, 2010
Don
Apr 21, 2011
Don
June 05, 2010
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


--- Comment #0 from Jason House <jason.james.house@gmail.com> 2010-06-05 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: -------
June 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4276


Don <clugdbug@yahoo.com.au> changed:

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


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-06-05 11:35:17 PDT ---
(In reply to comment #0)
> 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: -------
April 21, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4276


Don <clugdbug@yahoo.com.au> changed:

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


--- Comment #2 from Don <clugdbug@yahoo.com.au> 2011-04-21 00:31:20 PDT ---
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: -------