[Ironruby-core] 0.9.1 regression

2009-09-30 Thread Ivan Porto Carrero
Hi I'd love to log this as a bug but I can't track down why. This is the code for a ResultFilter with IronRuby MVC class LightspeedFilter < ResultFilter def on_result_executing(context) # put before result filtering code here end def on_result_executed(context) context.controller.

Re: [Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values

2009-09-29 Thread Tomas Matousek
: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values On Wed, Sep 30, 2009 at 12:19 PM, Jimmy Schementi mailto:jimmy.scheme...@microsoft.com>> wrote: The error message seems to indicate this is the same issue you had i

Re: [Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values

2009-09-29 Thread Orion Edwards
On Wed, Sep 30, 2009 at 12:19 PM, Jimmy Schementi < jimmy.scheme...@microsoft.com> wrote: > The error message seems to indicate this is the same issue you had in your > "Another 0.9.1 regression" mail. > > > Really? The repro for this one is really simple and has no COM at all. C# code: public e

Re: [Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values

2009-09-29 Thread Orion Edwards
Hrm... I'm trying to get some sample code so I can provide a repro for you guys, but it's proving difficult. The following C# code is *all* fine when called from IronRuby public static class II { public static void GetData(this string str, int inint, out int outint, out string outstr) {

Re: [Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values

2009-09-29 Thread Jimmy Schementi
yforge.org Subject: [Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values I have a CLR dll which declares an enumeration FieldID. It's just an ordinary C# enum I have the following code which used to work under 0.9 fields_to_read = [FieldID.DBID, FieldID.N

[Ironruby-core] 0.9.1 regression when creating System::Array of clr enum values

2009-09-29 Thread Orion Edwards
I have a CLR dll which declares an enumeration FieldID. It's just an ordinary C# enum I have the following code which used to work under 0.9 fields_to_read = [FieldID.DBID, FieldID.Name] clr_fields = System::Array[FieldID].new fields_to_read Under 0.9.1, the following exception occurs: System::I