AA bug..?

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed Sep 26 06:08:04 PDT 2007


"Simen Haugen" <simen at norstat.no> wrote in message 
news:fddl53$2eai$1 at digitalmars.com...
>I dont get it...
>
> I say "int[uint]". Key is of type uint, value is of type int. What does it 
> need to check the element types for?

This != initializer.  In this case the compiler doesn't even look at the 
type of the variable you're declaring.  It's treating the initializer as if 
it were a literal.  I wish the compiler _would_ see the type on the LHS, 
but.. 





More information about the Digitalmars-d mailing list