[Issue 9538] New: 2.062: Can't use typeid on .ptr of static array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 19 14:03:28 PST 2013


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

           Summary: 2.062: Can't use typeid on .ptr of static array
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-19 14:03:27 PST ---
import std.stdio;

void main()
{
    void*[1] x;
    writeln(typeid(x.ptr));
}

2.061:
$ dmd test.d
> void**

2.062:
$ dmd test.d
> Error: void*[1u][0u] is not an lvalue

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