On Fri, 2002-05-03 at 00:42, Sanin Saracevic wrote: > According to C-sharp specification (ftp://ftp.ecma.ch/ecma-st/Ecma-334.pdf, > Section 14.2.1 Operator precedence and associativity) both member access (.) > and element access([]) operators belong to the category of primary > operators. Page 139.2 goes on to state that in case of "two operators with > the same precedence, the associativity of the operators controls the order > in which the operations are performed." Since binary operators are > left-associative, it seems clear that the expression of a form E.I[A] is > evaluated from left to right, in which case the original code in question > should compile. Sections 14.5.4 Member access and 14.5.6 Element access have > more information about resolving statements of a form E.I[A]. Am I missing > something here? BTW,MS c# compiler will accept the original statement with > no complaints.
I think it's a bug in the compiler. I filed a bug about it in the compiler when I ran into it earlier today. It's #24146; feel free to add any additional info you think will help. Joe _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
