[Issue 3552] ICE(mtype.c): declaring a variable called	'AssociativeArray' then using an AA.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Nov 25 08:08:51 PST 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3552
Don <clugdbug at yahoo.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE(mtype.c): associative   |ICE(mtype.c): declaring a
                   |arrays of class types       |variable called
                   |                            |'AssociativeArray' then
                   |                            |using an AA.
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2009-11-25 08:08:50 PST ---
Reduced test case shows it's very silly. Obviously it's a name lookup problem.
void main()
{    
    int AssociativeArray;        
    int[int] foo;    
    foreach (x; foo)    {    }
}
-- 
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