[Issue 4661] Array Literal Incompatible Type Error Msg Should Include Line Number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 9 00:58:54 PDT 2011


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |yebblies at gmail.com


--- Comment #8 from yebblies <yebblies at gmail.com> 2011-06-09 00:54:18 PDT ---
Test case for the error message, and a similar case for associative array
initializers:

void main() {

    auto a = [1, null];
    auto b = [1 : 1, null : null];    
}

https://github.com/D-Programming-Language/dmd/pull/99

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