[Issue 11509] New: AA.rehash doesn't compile with -property

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 13 03:03:24 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11509

           Summary: AA.rehash doesn't compile with -property
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-11-13 03:02:58 PST ---
Problem found by Gary Willoughby:


void main() {
    int[string] aa;
    aa.rehash;
}


dmd 2.065alpha gives (compiling with "-property"):

temp.d(3): Error: not a property aa.rehash

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


More information about the Digitalmars-d-bugs mailing list