Thread overview
[Issue 7633] New: Missing CTFE error message
Mar 03, 2012
dawg@dawgfoto.de
Mar 13, 2012
Don
Mar 15, 2012
Walter Bright
March 03, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7633

           Summary: Missing CTFE error message
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: CTFE
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2012-03-02 21:12:18 PST ---
class Base {}

bool equal(Base a, Base b)
{
    Base[Base] aa;
    aa[a] = b;
    aa[b] = a;
    return true;
}

enum eq = equal(new Base, new Base);

--------

This will only print a backtrace but nothing about the cause of the error.
bug2.d(11):        called from here: equal(new Base,new Base)
bug2.d(11):        called from here: equal(new Base,new Base)

The cause for this to fail is that Equal for classes doesn't work.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7633


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

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


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2012-03-13 05:11:21 PDT ---
https://github.com/D-Programming-Language/dmd/pull/806

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7633



--- Comment #2 from github-bugzilla@puremagic.com 2012-03-14 16:59:52 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a4369d5d9b34389ae673874ba986e64783aab5e1 Merge pull request #806 from donc/ctfe7633equalmsg

Fix issue 7633 - Missing CTFE error message

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7633



--- Comment #3 from github-bugzilla@puremagic.com 2012-03-14 17:28:47 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/06b384b15322b23fc62ba398d4eb76937965cf18 merge D2 pull 806 fix Issue 7633

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7633


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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