Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80249 --- shadow/80249 2006-12-13 23:27:20.000000000 -0500 +++ shadow/80249.tmp.3291 2006-12-13 23:47:52.000000000 -0500 @@ -120,6 +120,18 @@ Does this bug have anything to do with bug 79561 ? They both deal with IEnumerable, Generics, and foreach loops. ------- Additional Comments From [EMAIL PROTECTED] 2006-12-13 23:27 ------- IIRC, 'foreach' prefers direct calls to GetEnumerator rather than going through the IEnumerable interface. + +------- Additional Comments From [EMAIL PROTECTED] 2006-12-13 23:47 ------- +... and after a quick scan of the IronPython source code, I think the +testcase above doesn't reflect the code (and we seem to be doing the +right thing wrt the testcase). + +I think the operative declaration is + + public IAttributesDictionary dict; + +so, there may be some other issue. Perhaps we are checking 'is +IEnumerable' too early somewhere. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
