[Issue 4826] "cannot create associative array" and compiler crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 6 23:56:56 PDT 2010


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic


--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-09-06 23:56:32 PDT ---
Reduced test case:
----------
struct Struct4826 {}

void bug4826(T)(T[string] value) {}

void test4826()
{
    bug4826(Struct4826());
}

----
This is closely related to bug 3996. The patch for bug 3996 removes the
segfault, leaving only a useless error message with no line number, followed by
a sensible error message with line number.

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


More information about the Digitalmars-d-bugs mailing list