6

Closed

Chaining LINQ calls fails

description

In ipy 2.7 (via clr.ImportExtensions) chaining LINQ calls fails with System.ArgumentException: Type System.Collections.Generic.IEnumerable`1[TSource] contains generic parameters.
 
I expected LINQ extension methods to be chainable like in c#. For some reason some type check seem to fail as soon as I try to call a LINQ extension method on the result of a LINQ extension method call. I had a look at the test suite and it does not seem to cover such usage.
 
I attached a python snipped of what I tried to do.

file attachments

Closed Jun 18, 2011 at 8:33 PM by DinoViehland
Fixed

comments

OldWarhorse wrote Apr 10, 2011 at 2:22 AM

I'll just go ahead and add my inquiry here also.

sopelt wrote Jun 20, 2011 at 9:23 AM

Thank you for fixing this issue. Do you have an idea on when the next release is scheduled and if the fix will be included?
I was not able to find some kind of release plan on codeplex/github.

OldWarhorse wrote Jun 20, 2011 at 1:47 PM

It's fixed. My stuff works. Thanks Dino!

jdhardy wrote Jun 21, 2011 at 4:35 PM

@sopelt: You can try out 2.7.1 Beta 1, which has this fix. The final release of 2.7.1 will happen in 2-3 weeks.