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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2012-11-15 04:51:58 PST ---
>From code by Dan:
http://forum.dlang.org/thread/[email protected]


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: -------

Reply via email to