http://d.puremagic.com/issues/show_bug.cgi?id=8954

           Summary: Missing line number in error message for uncollable
                    destructor/postblit
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: verylonglogin....@gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin....@gmail.com> 2012-11-03 
14:50:18 MSK ---
---
struct S
{
    this(this) { }
    ~this() { }
}

struct S2
{ const S s; }
---

Output:
---
Error: destructor main.S.~this () is not callable using argument types () const
Error: function main.S.__postblit () is not callable using argument types ()
const
---

Severity is "Critical" as Don write in Issue 5314, comment 10:
> They're equivalent to compiler segfaults. Worse than any rejects-valid bug.
> They're nearly always very easy to fix, too. There's no excuse for them.

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

Reply via email to