digitalmars.D.bugs - [Issue 1576] New: Crash on const ref parameters
- d-bugmail puremagic.com (15/15) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- d-bugmail puremagic.com (4/4) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- d-bugmail puremagic.com (19/19) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- d-bugmail puremagic.com (11/11) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- d-bugmail puremagic.com (9/9) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- d-bugmail puremagic.com (5/5) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- d-bugmail puremagic.com (6/9) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1576
- Bill Baxter (6/20) Oct 13 2007 Huh. Weird. When I did the search I got 3 hits. Where did you enter
- John Mandeville (4/9) Oct 15 2007 Argh, yes, I searched for all items from http://d.puremagic.com/issues/q...
- Bill Baxter (6/17) Oct 15 2007 No prob. Sorry I accused you of not searching the DB, when you were
http://d.puremagic.com/issues/show_bug.cgi?id=1576
           Summary: Crash on const ref parameters
           Product: D
           Version: 2.005
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: jemandy earthlink.net
A formal function parameter specified as const ref (or as ref const) causes DMD
2.005 to crash with a "tell Microsoft about the problem" dialog box.
-- 
 Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1576 Please add a reproducable testcase. --
 Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1576
spam extrawurst.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spam extrawurst.org
i came across this one a few times too!
testcase:
struct Foo {
        void bar(ref const int _a) {
        }
}
void main()
{
        Foo a;
        int b=0;
        a.bar(b);
}
-- 
 Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1576
oh sorry there is even a smaller one:
void bar(ref const int _a) {
}
void main()
{
        int b=0;
        bar(b);
}
-- 
 Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1576
wbaxter gmail.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
*** This bug has been marked as a duplicate of 1319 ***
-- 
 Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1576 Please at least *try* to do a search for a pre-existing bug before you report a new one. --
 Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1576Please at least *try* to do a search for a pre-existing bug before you report a new one.Sorry. I actually did try. My search for "const ref" turned up 200 items of which 199 were irrelevant. The other one, I'm afaid, I missed. My apologies. --
 Oct 13 2007
d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=1576Huh. Weird. When I did the search I got 3 hits. Where did you enter the search terms? I just put them in here: http://d.puremagic.com/issues/ Maybe you did a search including all closed and resolved items? --bbPlease at least *try* to do a search for a pre-existing bug before you report a new one.Sorry. I actually did try. My search for "const ref" turned up 200 items of which 199 were irrelevant. The other one, I'm afaid, I missed. My apologies.
 Oct 13 2007
== Quote from Bill Baxter (dnewsgroup billbaxter.com)'s articleHuh. Weird. When I did the search I got 3 hits. Where did you enter the search terms? I just put them in here: http://d.puremagic.com/issues/ Maybe you did a search including all closed and resolved items? --bbArgh, yes, I searched for all items from http://d.puremagic.com/issues/query.cgi. Now I feel *really* silly. I guess there is no need to include closed issues. Again, I apologize.
 Oct 15 2007
John Mandeville wrote:== Quote from Bill Baxter (dnewsgroup billbaxter.com)'s articleNo prob. Sorry I accused you of not searching the DB, when you were just a victim bad UI. Looks like you must have also used "any of the search terms" rather than "all of the search terms" (which is the default of the simpler search entry on the main page.) --bbHuh. Weird. When I did the search I got 3 hits. Where did you enter the search terms? I just put them in here: http://d.puremagic.com/issues/ Maybe you did a search including all closed and resolved items? --bbArgh, yes, I searched for all items from http://d.puremagic.com/issues/query.cgi. Now I feel *really* silly. I guess there is no need to include closed issues. Again, I apologize.
 Oct 15 2007








 
  
  
 
 d-bugmail puremagic.com
 d-bugmail puremagic.com 