November 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9031

           Summary: No error line number with not callable postblit
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2012-11-15 04:51:58 PST ---
From code by Dan: http://forum.dlang.org/thread/jbdxsfkpxmsiqcunuppj@forum.dlang.org


struct Foo {
    this(this) {}
}
alias const(Foo)[int] Bar;
void main() {
    Bar b;
    foreach (value; b) {}
}



DMD 2.061alpha gives no error line number:

Error: function test2.Foo.__postblit () is not callable using argument types ()
const

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 03, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9031


Maxim Fomin <maxim@maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |maxim@maxim-fomin.ru
         Resolution|                            |DUPLICATE


--- Comment #1 from Maxim Fomin <maxim@maxim-fomin.ru> 2013-05-03 05:21:57 PDT ---
*** This issue has been marked as a duplicate of issue 8954 ***

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